Example #1
0
 protected override void OnEndOpen(IAsyncResult result) => Tap.Complete(result);
 public Message EndReceive(IAsyncResult result)
 => Tap.Complete <Message>(result);
 public void EndSend(IAsyncResult result) => Tap.Complete(result);
 public IAsyncResult BeginReceive(TimeSpan timeout, AsyncCallback callback, object state)
 {
     base.ThrowIfDisposedOrNotOpen();
     return(Tap.Run(callback, state, ReceiveAsync));
 }
Example #5
0
 protected override IDuplexSessionChannel OnEndAcceptChannel(IAsyncResult result) => Tap.Complete <IDuplexSessionChannel>(result);