public Connection(Uri endpoint, MessageQueue queue, IEnumerable <BayeuxProtocolExtension> extensions, IBayeuxLogger logger) { _broker = new Broker(new LongPollingTransport(endpoint, logger), extensions); _heartbeat = new ConnectionHeartbeat(_broker, queue); }