Example #1
0
        private static void ConfigureEvents(IWebSocketConnection socket)
        {
            logger.Debug($"{socket.ConnectionInfo.Id} Received client connection from {socket.ConnectionInfo.ClientIpAddress}:{socket.ConnectionInfo.ClientPort}");
            ClientConnection connection = new ClientConnection(socket);

            session.ConnectClient(connection);
        }
Example #2
0
 public void DisconnectClient(ClientConnection client)
 {
     client.Disconnect();
 }
Example #3
0
 private void ConnectionOpen(ClientConnection client)
 {
     logger.Info($"{client.SocketConnection.ConnectionInfo.Id} Connection opened for client {client.Identity}");
 }