public static AMQFrame CreateAMQFrame(ushort channelId, ushort ReplyCode, string ReplyText, FieldTable Details) { ChannelAlertBody body = new ChannelAlertBody(); body.ReplyCode = ReplyCode; body.ReplyText = ReplyText; body.Details = Details; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return frame; }
public static AMQFrame CreateAMQFrame(ushort channelId, ushort ReplyCode, string ReplyText, FieldTable Details) { ChannelAlertBody body = new ChannelAlertBody(); body.ReplyCode = ReplyCode; body.ReplyText = ReplyText; body.Details = Details; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return(frame); }