示例#1
0
 void ChannelConnection_DisconnectedEvent(object sender, EventArgs e)
 {
     Log.Info("Relay IP: {0} disconnected", this.m_CurrentInfo != null ? this.m_CurrentInfo.Id.ToString() : this.ToString());
     this.Dispose();
     RelayController.DisconnecteRelayServer(this.m_CurrentInfo != null ? this.m_CurrentInfo.Id : this.CurrentInfo.Id);
     this.m_CurrentInfo = null;
     //Game server will be corresponding status offline
 }