Ejemplo n.º 1
0
        public static AMQFrame CreateAMQFrame(ushort channelId, byte Integer1, ushort Integer2, uint Integer3, ulong Integer4, byte Operation)
        {
            TestIntegerBody body = new TestIntegerBody();

            body.Integer1  = Integer1;
            body.Integer2  = Integer2;
            body.Integer3  = Integer3;
            body.Integer4  = Integer4;
            body.Operation = Operation;

            AMQFrame frame = new AMQFrame();

            frame.Channel   = channelId;
            frame.BodyFrame = body;
            return(frame);
        }
Ejemplo n.º 2
0
 public static AMQFrame CreateAMQFrame(ushort channelId, byte Integer1, ushort Integer2, uint Integer3, ulong Integer4, byte Operation)
 {
     TestIntegerBody body = new TestIntegerBody();
     body.Integer1 = Integer1;
     body.Integer2 = Integer2;
     body.Integer3 = Integer3;
     body.Integer4 = Integer4;
     body.Operation = Operation;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }