public AmqpConnection(TransportBase transport, ProtocolHeader protocolHeader, bool isInitiator, AmqpSettings amqpSettings, AmqpConnectionSettings connectionSettings) : base(transport, connectionSettings) { if (amqpSettings == null) { throw new ArgumentNullException("amqpSettings"); } this.initialHeader = protocolHeader; this.isInitiator = isInitiator; this.amqpSettings = amqpSettings; this.frameDecoder = new FrameDecoder((int)this.Settings.MaxFrameSize); this.sessionsByLocalHandle = new HandleTable<AmqpSession>(this.Settings.ChannelMax.Value); this.sessionsByRemoteHandle = new HandleTable<AmqpSession>(this.Settings.ChannelMax.Value); this.SessionFactory = this; }
public AmqpConnection(TransportBase transport, ProtocolHeader protocolHeader, bool isInitiator, AmqpSettings amqpSettings, AmqpConnectionSettings connectionSettings) : base(transport, connectionSettings) { if (amqpSettings == null) { throw new ArgumentNullException("amqpSettings"); } this.initialHeader = protocolHeader; this.isInitiator = isInitiator; this.amqpSettings = amqpSettings; this.frameDecoder = new FrameDecoder((int)this.Settings.MaxFrameSize); this.sessionsByLocalHandle = new HandleTable <AmqpSession>(this.Settings.ChannelMax.Value); this.sessionsByRemoteHandle = new HandleTable <AmqpSession>(this.Settings.ChannelMax.Value); this.SessionFactory = this; }
public AmqpFrameConnection(AmqpStream parent, TransportBase transport, int maxFrameSize) : base(transport, new AmqpConnectionSettings() { MaxFrameSize = (uint)maxFrameSize }) { this.parent = parent; this.decoder = new FrameDecoder(maxFrameSize); }
public AmqpFrameConnection(AmqpStream parent, TransportBase transport, int maxFrameSize) : base(transport, new AmqpConnectionSettings() { MaxFrameSize = (uint)maxFrameSize }) { this.parent = parent; this.decoder = new FrameDecoder(maxFrameSize); }