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; }
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); }