/// <summary> /// Session Constructor /// </summary> public Session() { // Add the delegate event handlers m_sessionLogger = new SessionLogger(MessageHandler); m_loginSuccessNotify = new LoginNotify(HandleLoginSuccessful); m_disconnectNotify = new DisconnectNotify(HandleDisconnectNotify); }
static DisconnectNotify() { Instance = new DisconnectNotify(); }