Beispiel #1
0
        private void Handle(Guid key, ClientMessage.WriteEventsCompleted message)
        {
            _writerQueueSet.Finish(key);

            _pendingWrites.CompleteRequest(message);
            RemovePendingRequest(message.CorrelationId);

            WorkQueue(key);
        }
Beispiel #2
0
            private void Handle(
                Guid key,
                ClientMessage.WriteEventsCompleted message,
                RequestResponseDispatcher <ClientMessage.WriteEvents, ClientMessage.WriteEventsCompleted> writer)
            {
                lock (_lockObject) {
                    _writerQueueSet.Finish(key);

                    _pendingWrites.CompleteRequest(message);
                    RemovePendingRequest(message.CorrelationId);

                    WorkQueue(key, writer);
                }
            }