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

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