public static AMQFrame CreateAMQFrame(ushort channelId, ushort ChannelMax, uint FrameMax, ushort Heartbeat) { ConnectionTuneBody body = new ConnectionTuneBody(); body.ChannelMax = ChannelMax; body.FrameMax = FrameMax; body.Heartbeat = Heartbeat; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return frame; }
public static AMQFrame CreateAMQFrame(ushort channelId, ushort ChannelMax, uint FrameMax, ushort Heartbeat) { ConnectionTuneBody body = new ConnectionTuneBody(); body.ChannelMax = ChannelMax; body.FrameMax = FrameMax; body.Heartbeat = Heartbeat; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return(frame); }