Example #1
0
        public AmqpSession(AmqpConnection connection, ushort channelNumber, ushort remoteChannelNumber)
        {
            this.Connection          = connection;
            this.ChannelNumber       = channelNumber;
            this.RemoteChannelNumber = remoteChannelNumber;
            State = SessionStateEnum.UNMAPPED;

            nextOutgoingId = InitialOutgoingId;
        }
Example #2
0
 public void SetUp()
 {
     container = new TestContainer();
     socket = new InterceptingSocket();
     connection = new AmqpConnection(socket, container);
 }
Example #3
0
 public void SetUp()
 {
     container  = new TestContainer();
     socket     = new InterceptingSocket();
     connection = new AmqpConnection(socket, container);
 }
Example #4
0
        public AmqpSession(AmqpConnection connection, ushort channelNumber, ushort remoteChannelNumber)
        {
            this.Connection = connection;
            this.ChannelNumber = channelNumber;
            this.RemoteChannelNumber = remoteChannelNumber;
            State = SessionStateEnum.UNMAPPED;

            nextOutgoingId = InitialOutgoingId;
        }