示例#1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, bool Nowait)
 {
     StreamCancelBody body = new StreamCancelBody();
     body.ConsumerTag = ConsumerTag;
     body.Nowait = Nowait;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag, bool Nowait)
        {
            StreamCancelBody body = new StreamCancelBody();

            body.ConsumerTag = ConsumerTag;
            body.Nowait      = Nowait;

            AMQFrame frame = new AMQFrame();

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