예제 #1
0
        void IHubClientTransport.Connect(IHubClientTransportListener hubClientTransportListener, EndpointId id)
        {
            if (_hub == null)
            {
                throw new HubNotFoundException("hub not connected");
            }

            _hub.Acquire(id);
            _hubClientTransportListeners[id] = hubClientTransportListener;
        }