public static AMQFrame CreateAMQFrame(ushort channelId, string Realm, bool Exclusive, bool Passive, bool Active, bool Write, bool Read)
        {
            AccessRequestBody body = new AccessRequestBody();

            body.Realm     = Realm;
            body.Exclusive = Exclusive;
            body.Passive   = Passive;
            body.Active    = Active;
            body.Write     = Write;
            body.Read      = Read;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
 public static AMQFrame CreateAMQFrame(ushort channelId, string Realm, bool Exclusive, bool Passive, bool Active, bool Write, bool Read)
 {
     AccessRequestBody body = new AccessRequestBody();
     body.Realm = Realm;
     body.Exclusive = Exclusive;
     body.Passive = Passive;
     body.Active = Active;
     body.Write = Write;
     body.Read = Read;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }