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