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