예제 #1
0
        public EventDispatcher(IActorRef reader, GlobalOptions options)
        {
            _reader = reader;
            _options = options;

            var request = new ReadHighestGlobalSequenceRequest();
            _reader.Tell(request);
            _requestId = request.RequestID;

            AwaitingGlobalSequence();
        }
예제 #2
0
        public void ReadHighestGlobalSequenceRequests_are_fowarded_to_worker()
        {
            var o = new TestContainer(this);

            var req = new ReadHighestGlobalSequenceRequest();
            o.Reader.Tell(req);
            o.ReadHighestGlobalSequenceProbe.ExpectMsg<ReadHighestGlobalSequenceRequest>(m => m == req);
        }