public MessageRouter(MessageQueue queue) { _queue = queue; _semaphore = new SemaphoreSlim(1, 1); _callbacks = new Dictionary <string, List <Action <IBayeuxMessage> > >(StringComparer.OrdinalIgnoreCase); }
public Connection(Uri endpoint, MessageQueue queue, IEnumerable <BayeuxProtocolExtension> extensions, IBayeuxLogger logger) { _broker = new Broker(new LongPollingTransport(endpoint, logger), extensions); _heartbeat = new ConnectionHeartbeat(_broker, queue); }
public ConnectionHeartbeat(Broker broker, MessageQueue queue) { _broker = broker; _queue = queue; }