public static AMQFrame CreateAMQFrame(ushort channelId, string VirtualHost, string Capabilities, bool Insist)
 {
     ConnectionOpenBody body = new ConnectionOpenBody();
     body.VirtualHost = VirtualHost;
     body.Capabilities = Capabilities;
     body.Insist = Insist;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
Example #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, string VirtualHost, string Capabilities, bool Insist)
        {
            ConnectionOpenBody body = new ConnectionOpenBody();

            body.VirtualHost  = VirtualHost;
            body.Capabilities = Capabilities;
            body.Insist       = Insist;

            AMQFrame frame = new AMQFrame();

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