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