Пример #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool NoAck)
 {
     BasicGetBody body = new BasicGetBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.NoAck = NoAck;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
Пример #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool NoAck)
        {
            BasicGetBody body = new BasicGetBody();

            body.Ticket = Ticket;
            body.Queue  = Queue;
            body.NoAck  = NoAck;

            AMQFrame frame = new AMQFrame();

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