public static AMQFrame CreateAMQFrame(ushort channelId, ushort Ticket, string Queue, bool IfUnused, bool IfEmpty, bool Nowait)
        {
            QueueDeleteBody body = new QueueDeleteBody();

            body.Ticket   = Ticket;
            body.Queue    = Queue;
            body.IfUnused = IfUnused;
            body.IfEmpty  = IfEmpty;
            body.Nowait   = Nowait;

            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 IfUnused, bool IfEmpty, bool Nowait)
 {
     QueueDeleteBody body = new QueueDeleteBody();
     body.Ticket = Ticket;
     body.Queue = Queue;
     body.IfUnused = IfUnused;
     body.IfEmpty = IfEmpty;
     body.Nowait = Nowait;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }