public void HandleMessage(MessagePayload toHandle, List<MessagePayload> outgoingMessages) { if (!toHandle.IsLongPollRequest()) return; outgoingMessages.AddRange(outgoingQueue.DequeueAll(toHandle.GetLongPollRequestServerPath())); }
public void HandleMessage(MessagePayload toHandle, List<MessagePayload> outgoingMessages) { if (toHandle.IsLongPollRequest()) return; LogMessage(toHandle); this.outgoingQueue.Enqueue(toHandle); }