示例#1
0
        public void RemoveClient(DummyClient client)
        {
            log.Debug("removing dummy " + client);
            if (client.ConnectionState != ServerClientArchitecture.Connection.ConnectionState.Disconnected)
            {
                client.Disconnect();
            }

            Data.RemoveDummy(client);
        }
示例#2
0
 public void DisconnectClient(DummyClient client)
 {
     log.Debug("disconnecting dummy " + client);
     client.Disconnect();
 }