protected PersistentConnection(Signaler signaler,
                                IMessageStore store,
                                IJsonStringifier jsonStringifier)
 {
     _signaler = signaler;
     _store = store;
     _jsonStringifier = jsonStringifier;
 }
 protected PersistentConnection(Signaler signaler,
                                IClientIdFactory clientIdFactory,
                                IMessageStore store,
                                IJsonStringifier jsonStringifier)
 {
     _signaler = signaler;
     _clientIdFactory = clientIdFactory;
     _store = store;
     _jsonStringifier = jsonStringifier;
 }
 protected PersistentConnection(Signaler signaler,
                                IClientIdFactory clientIdFactory,
                                IMessageStore store,
                                IJsonStringifier jsonStringifier)
 {
     _signaler        = signaler;
     _clientIdFactory = clientIdFactory;
     _store           = store;
     _jsonStringifier = jsonStringifier;
 }
Beispiel #4
0
 public HubDispatcher(IHubFactory hubFactory,
                      IMessageStore store,
                      Signaler signaler,
                      IActionResolver actionResolver,
                      IJavaScriptProxyGenerator proxyGenerator,
                      IJsonStringifier jsonStringifier,
                      string url)
     : base(signaler, store, jsonStringifier)
 {
     _hubFactory = hubFactory;
     _store = store;
     _signaler = signaler;
     _actionResolver = actionResolver;
     _proxyGenerator = proxyGenerator;
     _url = VirtualPathUtility.ToAbsolute(url);
 }
Beispiel #5
0
 public HubDispatcher(IHubFactory hubFactory,
                      IMessageStore store,
                      Signaler signaler,
                      IClientIdFactory clientIdFactory,
                      IActionResolver actionResolver,
                      IJavaScriptProxyGenerator proxyGenerator,
                      IJsonStringifier jsonStringifier,
                      IHubLocator hubLocator,
                      string url)
     : base(signaler, clientIdFactory, store, jsonStringifier)
 {
     _hubFactory     = hubFactory;
     _store          = store;
     _signaler       = signaler;
     _actionResolver = actionResolver;
     _proxyGenerator = proxyGenerator;
     _hubLocator     = hubLocator;
     _url            = VirtualPathUtility.ToAbsolute(url);
 }
 public WebSocketTransport(HttpContextBase context, IJsonStringifier stringifier)
 {
     _context = context;
     _stringifier = stringifier;
     _connectionTokenSource = new CancellationTokenSource();
 }
Beispiel #7
0
 public ForeverTransport(HttpContextBase context, IJsonStringifier jsonStringifier)
 {
     _context = context;
     _jsonStringifier = jsonStringifier;
 }
Beispiel #8
0
 public ForeverTransport(HttpContextBase context, IJsonStringifier jsonStringifier)
 {
     _context         = context;
     _jsonStringifier = jsonStringifier;
 }
 public LongPollingTransport(HttpContextBase context, IJsonStringifier json, ITransportHeartBeat heartBeat)
 {
     _context = context;
     _jsonStringifier = json;
     _heartBeat = heartBeat;
 }
        public LongPollingTransport(HttpContextBase context, IJsonStringifier json)
            : this(context, json, TransportHeartBeat.Instance)
        {

        }
Beispiel #11
0
 public WebSocketTransport(HttpContextBase context, IJsonStringifier stringifier)
 {
     _context               = context;
     _stringifier           = stringifier;
     _connectionTokenSource = new CancellationTokenSource();
 }
 public LongPollingTransport(HttpContextBase context, IJsonStringifier json)
 {
     _context = context;
     _jsonStringifier = json;
 }
 public LongPollingTransport(HttpContextBase context, IJsonStringifier json, ITransportHeartBeat heartBeat)
 {
     _context         = context;
     _jsonStringifier = json;
     _heartBeat       = heartBeat;
 }
 public LongPollingTransport(HttpContextBase context, IJsonStringifier json)
     : this(context, json, TransportHeartBeat.Instance)
 {
 }