public static AMQFrame CreateAMQFrame(ushort channelId, bool Active)
 {
     ChannelFlowOkBody body = new ChannelFlowOkBody();
     body.Active = Active;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, bool Active)
        {
            ChannelFlowOkBody body = new ChannelFlowOkBody();

            body.Active = Active;

            AMQFrame frame = new AMQFrame();

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