Пример #1
0
 protected PersistentConnection(Signaler signaler,
                                IMessageStore store,
                                IJsonStringifier jsonStringifier)
 {
     _signaler = signaler;
     _store = store;
     _jsonStringifier = jsonStringifier;
 }
Пример #2
0
 protected PersistentConnection(Signaler signaler,
                                IClientIdFactory clientIdFactory,
                                IMessageStore store,
                                IJsonSerializer jsonSerializer)
 {
     _signaler = signaler;
     _clientIdFactory = clientIdFactory;
     _store = store;
     _jsonSerializer = jsonSerializer;
 }
Пример #3
0
 protected PersistentConnection(Signaler signaler,
                                IConnectionIdFactory connectionIdFactory,
                                IMessageStore store,
                                IJsonSerializer jsonSerializer,
                                ITransportManager transportManager)
 {
     _signaler = signaler;
     _connectionIdFactory = connectionIdFactory;
     _store = store;
     _jsonSerializer = jsonSerializer;
     _transportManager = transportManager;
 }