private bool OnDisconnected(NetCommand command) { UInt64 nSessionID; if (command.ReadUInt64(out nSessionID) == false) { return(false); } m_refServerMonitorClient.OnDisconnectedMachine(nSessionID); return(true); }
public bool OnDisconnected(NetCommand command) { UInt64 nSessionID; if (command.ReadUInt64(out nSessionID) == false) { return(false); } m_refServerMonitor.OnDisconnected(nSessionID); return(true); }
private bool OnConnected(NetCommand command) { UInt64 nSessionID; bool bIsSuccess; if (command.ReadUInt64(out nSessionID) == false) { return(false); } if (command.ReadBoolean(out bIsSuccess) == false) { return(false); } m_refServerMonitorClient.OnConnectedMachine(nSessionID, bIsSuccess); return(true); }
private bool OnConnected(NetCommand command) { UInt64 nSessionID; bool bIsSuccess; if (command.ReadUInt64(out nSessionID) == false) { return(false); } if (command.ReadBoolean(out bIsSuccess) == false) { return(false); } if (bIsSuccess) { m_refAutoModeClient.OnConnected(); } else { System.Windows.Forms.Application.Exit(); } return(true); }