public static AMQFrame CreateAMQFrame(ushort channelId, string KnownHosts)
 {
     ConnectionOpenOkBody body = new ConnectionOpenOkBody();
     body.KnownHosts = KnownHosts;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
Exemple #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, string KnownHosts)
        {
            ConnectionOpenOkBody body = new ConnectionOpenOkBody();

            body.KnownHosts = KnownHosts;

            AMQFrame frame = new AMQFrame();

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