Example #1
0
        protected override TChannel OnAcceptChannel(TimeSpan timeout)
        {
            PrintHelper.Print(this, "OnAcceptChannel");
            IReplyChannel innerChannel = this._channelListener.AcceptChannel(timeout) as IReplyChannel;

            return(new SimpleReplyChannel(this, innerChannel) as TChannel);
        }
Example #2
0
 protected override void OnEndOpen(IAsyncResult result)
 {
     PrintHelper.Print(this, "OnEndOpen");
     this._channelListener.EndOpen(result);
 }
Example #3
0
 public bool TryReceive(TimeSpan timeout, out Message message)
 {
     PrintHelper.Print(this, "TryReceive");
     return(this._innerChannel.TryReceive(timeout, out message));
 }
Example #4
0
 public IAsyncResult BeginReceive(AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "BeginReceive");
     return(this._innerChannel.BeginReceive(callback, state));
 }
Example #5
0
 public Message Receive()
 {
     PrintHelper.Print(this, "Receive");
     return(this._innerChannel.Receive());
 }
Example #6
0
 protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "BeginOpen");
     return(this._innerChannel.BeginOpen(timeout, callback, state));
 }
Example #7
0
 protected override void OnEndClose(IAsyncResult result)
 {
     PrintHelper.Print(this, "OnEndClose");
     this._innerChannel.EndClose(result);
 }
Example #8
0
 protected override void OnAbort()
 {
     PrintHelper.Print(this, "OnAbort");
     this._innerChannel.Abort();
 }
 public Message Request(Message message, TimeSpan timeout)
 {
     PrintHelper.Print(this, "Request");
     return(this._innerChannel.Request(message, timeout));
 }
 public Message Request(Message message)
 {
     PrintHelper.Print(this, "Request");
     return(this._innerChannel.Request(message));
 }
 public SimpleRequestChannel(ChannelManagerBase channelManager, IRequestChannel innnerChannel) : base(channelManager)
 {
     PrintHelper.Print(this, "SimpleRequestChannel");
     this._innerChannel = innnerChannel;
 }
Example #12
0
 protected override IAsyncResult OnBeginAcceptChannel(TimeSpan timeout, AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "OnBeginAcceptChannel");
     return(this._channelListener.BeginAcceptChannel(timeout, callback, state));
 }
Example #13
0
 protected override bool OnEndWaitForChannel(IAsyncResult result)
 {
     PrintHelper.Print(this, "OnEndWaitForChannel");
     return(this._channelListener.EndWaitForChannel(result));
 }
Example #14
0
 protected override bool OnWaitForChannel(TimeSpan timeout)
 {
     PrintHelper.Print(this, "OnWaitForChannel");
     return(this._channelListener.WaitForChannel(timeout));
 }
Example #15
0
 public IAsyncResult BeginSend(Message message, TimeSpan timeout, AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "BeginSend");
     return(this._innerChannel.BeginSend(message, callback, state));
 }
 public IAsyncResult BeginRequest(Message message, AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "BeginReques");
     return(this._innerChannel.BeginRequest(message, callback, state));
 }
Example #17
0
 public void EndSend(IAsyncResult result)
 {
     PrintHelper.Print(this, "EndSend");
     this._innerChannel.EndSend(result);
 }
Example #18
0
 public bool EndTryReceive(IAsyncResult result, out Message message)
 {
     PrintHelper.Print(this, "EndTryReceive");
     return(this._innerChannel.EndTryReceive(result, out message));
 }
Example #19
0
 protected override void OnClose(TimeSpan timeout)
 {
     PrintHelper.Print(this, "OnClose");
     this._innerChannel.Close();
 }
Example #20
0
 public bool WaitForMessage(TimeSpan timeout)
 {
     PrintHelper.Print(this, "WaitForMessage");
     return(this._innerChannel.WaitForMessage(timeout));
 }
Example #21
0
 protected override void OnOpen(TimeSpan timeout)
 {
     PrintHelper.Print(this, "OnOpen");
     this._innerChannel.Open(timeout);
 }
Example #22
0
 public bool EndWaitForMessage(IAsyncResult result)
 {
     PrintHelper.Print(this, "EndWaitForMessage");
     return(this._innerChannel.EndWaitForMessage(result));
 }
Example #23
0
 protected override void OnEndOpen(IAsyncResult result)
 {
     PrintHelper.Print(this, "EndOpen");
     this._innerChannel.EndOpen(result);
 }
Example #24
0
 public SimpleDuplexSessionChannel(ChannelManagerBase channelManager, IDuplexSessionChannel innerChannel) : base(channelManager)
 {
     PrintHelper.Print(this, "SimpleDuplexSessionChannel");
     this._innerChannel = innerChannel;
 }
Example #25
0
 public Message Receive(TimeSpan timeout)
 {
     PrintHelper.Print(this, "Receive");
     return(this._innerChannel.Receive(timeout));
 }
Example #26
0
 public void Send(Message message)
 {
     PrintHelper.Print(this, "Send");
     this._innerChannel.Send(message);
 }
Example #27
0
 public Message EndReceive(IAsyncResult result)
 {
     PrintHelper.Print(this, "EndReceive");
     return(this._innerChannel.EndReceive(result));
 }
Example #28
0
 public void Send(Message message, TimeSpan timeout)
 {
     PrintHelper.Print(this, "Send");
     this._innerChannel.Send(message, timeout);
 }
Example #29
0
 public IAsyncResult BeginTryReceive(TimeSpan timeout, AsyncCallback callback, object state)
 {
     PrintHelper.Print(this, "BeginTryReceive");
     return(this._innerChannel.BeginTryReceive(timeout, callback, state));
 }
Example #30
0
 protected override void OnAbort()
 {
     PrintHelper.Print(this, "OnAbort");
     this._channelListener.Abort();
 }