예제 #1
0
 public void UnregisterCharServer(CharServerService charServer)
 {
     _Log.InfoFormat("CharServer '{0}' disconnected", charServer.Name);
     _CharServers.Remove(charServer);
 }
예제 #2
0
        public bool RegisterCharServer(CharServerService charServer)
        {
            _CharServers.Add(charServer);
            _Log.InfoFormat("CharServer '{0}' connected with address {1}:{2}", charServer.Name, charServer.Address, charServer.Port);

            return true;
        }