Пример #1
0
        public InMemoryTransport(HubMessageStore messageStore)
        {
            _messageStore           = messageStore;
            _sentMessagesObservable = new SentMessagesObservable(_sendPipe.Reader, messageStore);

            _sentMessagesSubscription = _sentMessagesObservable.Subscribe(new HubMessageHandler(this));
        }
 public Subscriber(SentMessagesObservable parent, long observerId)
 {
     _parent     = parent;
     _observerId = observerId;
 }