Exemple #1
0
 public static AMQFrame CreateAMQFrame(ushort channelId, string Identifier, ulong ContentSize)
 {
     FileOpenBody body = new FileOpenBody();
     body.Identifier = Identifier;
     body.ContentSize = ContentSize;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
        public static AMQFrame CreateAMQFrame(ushort channelId, string Identifier, ulong ContentSize)
        {
            FileOpenBody body = new FileOpenBody();

            body.Identifier  = Identifier;
            body.ContentSize = ContentSize;

            AMQFrame frame = new AMQFrame();

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