Ejemplo n.º 1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag)
 {
     FileConsumeOkBody body = new FileConsumeOkBody();
     body.ConsumerTag = ConsumerTag;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, string ConsumerTag)
        {
            FileConsumeOkBody body = new FileConsumeOkBody();

            body.ConsumerTag = ConsumerTag;

            AMQFrame frame = new AMQFrame();

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