Exemplo n.º 1
0
        // called synchronously from session's Poll()
        internal void ClientIdentified(ProtoSession session)
        {
            _identifiedClients[session.Name] = session;

            log.Debug($"Identified: {session.Id} => {session.Name}");
        }
Exemplo n.º 2
0
 // async!
 internal void OnSessionDisconnected(ProtoSession session)
 {
     lock (_disconnectingClients)
         _disconnectingClients.Enqueue(session);
 }