Beispiel #1
0
 public OrionClient()
 {
     Id                 = Guid.NewGuid().ToString();
     _requests          = new ConcurrentDictionary <int, TaskCompletionSource <JToken> >();
     _writer            = new OrionSink();
     _reader            = new OrionSource("Cl");
     _reader.OnMessage += ReaderOnMessage;
     _reader.Run();
 }
Beispiel #2
0
 public OrionEventsListener()
 {
     _reader            = new OrionSource("Ev");
     _reader.OnMessage += ReaderOnMessage;
     _reader.Run();
 }