Пример #1
0
 internal void OnDisconnectedInternal(SslSession session)
 {
     OnDisconnected(session);
 }
Пример #2
0
 internal void OnHandshakedInternal(SslSession session)
 {
     OnHandshaked(session);
 }
Пример #3
0
 /// <summary>
 /// Handle session handshaked notification
 /// </summary>
 /// <param name="session">Handshaked session</param>
 protected virtual void OnHandshaked(SslSession session)
 {
 }
Пример #4
0
 /// <summary>
 /// Handle session disconnected notification
 /// </summary>
 /// <param name="session">Disconnected session</param>
 protected virtual void OnDisconnected(SslSession session)
 {
 }
Пример #5
0
 /// <summary>
 /// Register a new session
 /// </summary>
 /// <param name="session">Session to register</param>
 internal void RegisterSession(SslSession session)
 {
     // Register a new session
     Sessions.TryAdd(session.Id, session);
 }