public InputSession(AmqpChannelListener.AmqpInputSessionChannel channel)
                {
                    CultureInfo invariantCulture = CultureInfo.InvariantCulture;

                    object[] connection = new object[] { channel.link.Session.Connection, channel.link.Session, channel.link };
                    this.Id = string.Format(invariantCulture, "{0},{1},{2}", connection);
                }
 private void EnqueueLink(ReceivingAmqpLink link)
 {
     AmqpChannelListener.AmqpInputSessionChannel amqpInputSessionChannel = new AmqpChannelListener.AmqpInputSessionChannel(this, link);
     this.availableChannels.EnqueueAndDispatch(amqpInputSessionChannel, null, false);
 }
 public TryReceiveAsyncResult(AmqpChannelListener.AmqpInputSessionChannel inputChannel, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state)
 {
     this.inputChannel = inputChannel;
 }