Exemple #1
0
 public RabbitMQConsumer(RabbitMQChannel channel, ConsumeConf conf)
 {
     _consume           = conf;
     _scheduler         = PipeScheduler.Inline;
     Channel            = channel;
     _bodyReader        = new BodyFrameChunkedReader(Channel.ChannelId);
     _contentFullReader = new ContentHeaderFullReader(Channel.ChannelId);
 }
 internal RabbitMQConsumer(string consumerTag, RabbitMQProtocol protocol, ushort channelId)
     : base(consumerTag, channelId, protocol)
 {
     _reader          = new BodyFrameChunkedReader();
     _deliverPosition = 0;
 }
 internal RabbitMQChunkedConsumer(string consumerTag, RabbitMQProtocol protocol, ushort channelid)
     : base(consumerTag, channelid, protocol)
 {
     _reader = new BodyFrameChunkedReader();
 }