Beispiel #1
0
 private void connectionChanged(ConnectionInformation information, ConnectionState state)
 {
     if (state == ConnectionState.closed)
     {
         CloseConnection(information.getConnectionID());
         liveConnections.Remove(information.getConnectionID());
     }
 }
Beispiel #2
0
 private void CloseConnection(ConnectionInformation Connection)
 {
     try
     {
         Connection.Dispose();
         Plus.GetGame().GetClientManager().DisposeConnection((uint)Connection.getConnectionID());
     }
     catch (Exception e)
     {
         Logging.LogException(e.ToString());
     }
 }
Beispiel #3
0
 private void CloseConnection(ConnectionInformation Connection)
 {
     try
     {
         Connection.Dispose();
         CyberEnvironment.GetGame().GetClientManager().DisposeConnection(checked ((uint)Connection.getConnectionID()));
     }
     catch (Exception ex)
     {
         Logging.LogException(ex.ToString());
     }
 }
Beispiel #4
0
 private void manager_connectionEvent(ConnectionInformation connection)
 {
     connection.connectionChanged += new ConnectionInformation.ConnectionChange(this.connectionChanged);
     CyberEnvironment.GetGame().GetClientManager().CreateAndStartClient(checked ((uint)connection.getConnectionID()), connection);
 }
Beispiel #5
0
 private void CloseConnection(ConnectionInformation Connection)
 {
     try
     {
         Connection.Dispose();
         PlusEnvironment.GetGame().GetClientManager().DisposeConnection(Convert.ToInt32(Connection.getConnectionID()));
     }
     catch (Exception e)
     {
         Logging.LogException(e.ToString());
     }
 }
Beispiel #6
0
 private void manager_connectionEvent(ConnectionInformation connection)
 {
     connection.connectionChanged += connectionChanged;
     PlusEnvironment.GetGame().GetClientManager().CreateAndStartClient(Convert.ToInt32(connection.getConnectionID()), connection);
 }
Beispiel #7
0
 private void manager_connectionEvent(ConnectionInformation connection)
 {
     liveConnections.Add(connection.getConnectionID(), connection);
     connection.connectionChanged += connectionChanged;
     FirewindEnvironment.GetGame().GetClientManager().CreateAndStartClient((uint)connection.getConnectionID(), connection);
 }
Beispiel #8
0
 private void manager_connectionEvent(ConnectionInformation connection)
 {
     connection.connectionChanged += connectionChanged;
     Plus.GetGame().GetClientManager().CreateAndStartClient((uint)connection.getConnectionID(), connection);
 }
Beispiel #9
0
        private void Manager_connectionEvent(ConnectionInformation connection)
        {
            connection.connectionClose += new ConnectionInformation.ConnectionChange(this.ConnectionChanged);

            ButterflyEnvironment.GetGame().GetClientWebManager().CreateAndStartClient(connection.getConnectionID(), connection);
        }
Beispiel #10
0
 private void CloseConnection(ConnectionInformation Connection)
 {
     try
     {
         ButterflyEnvironment.GetGame().GetClientWebManager().DisposeConnection(Connection.getConnectionID());
         Connection.Dispose();
     }
     catch (Exception ex)
     {
         Logging.LogException((ex).ToString());
     }
 }