protected void RegisterConnection(WebSocketConnectionBase connection)
 {
     lock (_connections)
     {
         _connections[connection.Identity] = connection;
         OnConnectionOpened(new WebSocketConnectionEventArgs(connection));
     }
 }
Ejemplo n.º 2
0
 public WebSocketConnectionEventArgs(WebSocketConnectionBase connection)
 {
     Connection = connection;
 }