コード例 #1
0
ファイル: FileQosBody.cs プロジェクト: drzo/opensim4opencog
 public static AMQFrame CreateAMQFrame(ushort channelId, uint PrefetchSize, ushort PrefetchCount, bool Global)
 {
     FileQosBody body = new FileQosBody();
     body.PrefetchSize = PrefetchSize;
     body.PrefetchCount = PrefetchCount;
     body.Global = Global;
     		 
     AMQFrame frame = new AMQFrame();
     frame.Channel = channelId;
     frame.BodyFrame = body;
     return frame;
 }
コード例 #2
0
        public static AMQFrame CreateAMQFrame(ushort channelId, uint PrefetchSize, ushort PrefetchCount, bool Global)
        {
            FileQosBody body = new FileQosBody();

            body.PrefetchSize  = PrefetchSize;
            body.PrefetchCount = PrefetchCount;
            body.Global        = Global;

            AMQFrame frame = new AMQFrame();

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