public ChannelReceiver(DuplexSessionOneWayChannelListener parent, IDuplexSessionChannel channel)
 {
     this.channel           = channel;
     this.acceptor          = parent.inputChannelAcceptor;
     this.idleTimeout       = parent.idleTimeout;
     this.validateHeader    = parent.packetRoutable;
     this.onMessageDequeued = new Action(this.OnMessageDequeued);
 }
 public void AcceptInnerChannel(DuplexSessionOneWayChannelListener listener, IDuplexSessionChannel channel)
 {
     DuplexSessionOneWayChannelListener.ChannelReceiver channelReceiver = new DuplexSessionOneWayChannelListener.ChannelReceiver(listener, channel);
     this.receivers.Add(channel, channelReceiver);
     channelReceiver.StartReceiving();
 }
 public DuplexSessionOneWayInputChannelAcceptor(DuplexSessionOneWayChannelListener listener) : base(listener)
 {
     this.receivers = new ChannelTracker <IDuplexSessionChannel, DuplexSessionOneWayChannelListener.ChannelReceiver>();
 }