private void RouteMessage(NSQMessage result) { if (result == null) { return; } if (result.Body.Equals(NSQResponseString.HEARTBEAT)) { NOP(); } else if (result.FrameType == FrameType.Message) { SignalMessageRecievedEvent(new NSQMessageEventArgs() { Message = result }); } }
public NSQMessageEventArgs(NSQMessage message) : base() { this.Message = message; }
private void RouteMessage(NSQMessage result) { if (result == null) return; if (result.Body.Equals(NSQResponseString.HEARTBEAT)) { NOP(); } else if (result.FrameType == FrameType.Message) { SignalMessageRecievedEvent(new NSQMessageEventArgs() { Message = result }); } }