Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
 public void DisconnectClient(ClientConnection client)
 {
     client.Disconnect();
 }
Ejemplo n.º 3
0
 private void ConnectionOpen(ClientConnection client)
 {
     logger.Info($"{client.SocketConnection.ConnectionInfo.Id} Connection opened for client {client.Identity}");
 }