예제 #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string String1, byte[] String2, byte Operation)
 {
     TestStringBody body = new TestStringBody();
     body.String1 = String1;
     body.String2 = String2;
     body.Operation = Operation;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
예제 #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, string String1, byte[] String2, byte Operation)
        {
            TestStringBody body = new TestStringBody();

            body.String1   = String1;
            body.String2   = String2;
            body.Operation = Operation;

            AMQFrame frame = new AMQFrame();

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