Esempio n. 1
0
 public TPayload ReceiveMessage <TPayload>(CancellationToken cancellationToken = default(CancellationToken)) where TPayload : Payload
 {
     using (var listener = new NodeListener(this))
     {
         return(listener.ReceivePayload <TPayload>(cancellationToken));
     }
 }
Esempio n. 2
0
 public NodeSet()
 {
     _MessageListener = new NodeListener(this);
 }