Esempio n. 1
0
 protected JsonRpcWebSocketService(JsonRpcConnectionManager connectionManager) : base(connectionManager)
 {
     _connectionManager = connectionManager;
     try
     {
         foreach (var(addMethod, @delegate) in NotificationCache.Get(this))
         {
             addMethod.Invoke(this, new object[] { @delegate });
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
 protected WebSocketConnection(JsonRpcConnectionManager connectionManager)
 {
     _connectionManager = connectionManager;
 }