/// <summary> /// Handle session disconnected notification /// </summary> /// <param name="session">Disconnected session</param> protected virtual void OnDisconnected(TcpSession session) { }
internal void OnDisconnectedInternal(TcpSession session) { OnDisconnected(session); }
/// <summary> /// Register a new session /// </summary> /// <param name="session">Session to register</param> internal void RegisterSession(TcpSession session) { // Register a new session _sessions.TryAdd(session.Id, session); }