public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, string ConsumerTag, bool NoLocal, bool NoAck, bool Exclusive, bool Nowait)
        {
            FileConsumeBody body = new FileConsumeBody();

            body.Ticket      = Ticket;
            body.Queue       = Queue;
            body.ConsumerTag = ConsumerTag;
            body.NoLocal     = NoLocal;
            body.NoAck       = NoAck;
            body.Exclusive   = Exclusive;
            body.Nowait      = Nowait;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
Exemplo n.º 2
0
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, string ConsumerTag, bool NoLocal, bool NoAck, bool Exclusive, bool Nowait)
 {
     FileConsumeBody body = new FileConsumeBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.ConsumerTag = ConsumerTag;
     body.NoLocal = NoLocal;
     body.NoAck = NoAck;
     body.Exclusive = Exclusive;
     body.Nowait = Nowait;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }