Exemplo n.º 1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool Nowait)
 {
     QueuePurgeBody body = new QueuePurgeBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.Nowait = Nowait;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool Nowait)
        {
            QueuePurgeBody body = new QueuePurgeBody();

            body.Ticket = Ticket;
            body.Queue  = Queue;
            body.Nowait = Nowait;

            AMQFrame frame = new AMQFrame();

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