Example #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, byte[] Result)
 {
     TestStringOkBody body = new TestStringOkBody();
     body.Result = Result;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, byte[] Result)
        {
            TestStringOkBody body = new TestStringOkBody();

            body.Result = Result;

            AMQFrame frame = new AMQFrame();

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