public static AMQFrame CreateAMQFrame(ushort channelId, string Host, string KnownHosts) { ConnectionRedirectBody body = new ConnectionRedirectBody(); body.Host = Host; body.KnownHosts = KnownHosts; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return frame; }
public static AMQFrame CreateAMQFrame(ushort channelId, string Host, string KnownHosts) { ConnectionRedirectBody body = new ConnectionRedirectBody(); body.Host = Host; body.KnownHosts = KnownHosts; AMQFrame frame = new AMQFrame(); frame.Channel = channelId; frame.BodyFrame = body; return(frame); }