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