コード例 #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, uint MessageCount)
 {
     QueuePurgeOkBody body = new QueuePurgeOkBody();
     body.MessageCount = MessageCount;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
コード例 #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, uint MessageCount)
        {
            QueuePurgeOkBody body = new QueuePurgeOkBody();

            body.MessageCount = MessageCount;

            AMQFrame frame = new AMQFrame();

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