public void Handle(HttpMessage.PurgeTimedOutRequests message) { _requestsMultiHandler.PublishToAll(message); _inputBus.Publish( TimerMessage.Schedule.Create( UpdateInterval, _publishEnvelope, message)); }
public void Handle(HttpMessage.PurgeTimedOutRequests message) { if (_accessibility != message.Accessibility) { return; } _requestsMultiHandler.PublishToAll(message); _inputBus.Publish( TimerMessage.Schedule.Create( UpdateInterval, _publishEnvelope, new HttpMessage.PurgeTimedOutRequests(_accessibility))); }