コード例 #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, ulong DeliveryTag, string Exchange, string Queue)
 {
     StreamDeliverBody body = new StreamDeliverBody();
     body.ConsumerTag = ConsumerTag;
     body.DeliveryTag = DeliveryTag;
     body.Exchange = Exchange;
     body.Queue = Queue;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
コード例 #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, ulong DeliveryTag, string Exchange, string Queue)
        {
            StreamDeliverBody body = new StreamDeliverBody();

            body.ConsumerTag = ConsumerTag;
            body.DeliveryTag = DeliveryTag;
            body.Exchange    = Exchange;
            body.Queue       = Queue;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }