Exemplo n.º 1
0
 protected PublishMessageSenderBase(
     ILogger logger,
     ConfigOptions options,
     IStorageConnection connection,
     IStateChanger stateChanger)
 {
     _options      = options;
     _connection   = connection;
     _stateChanger = stateChanger;
     _logger       = logger;
 }
Exemplo n.º 2
0
        public DefaultSubscriberExecutor(
            ILogger <DefaultSubscriberExecutor> logger,
            ConfigOptions options,
            IConsumerInvokerFactory consumerInvokerFactory,
            ICallbackMessageSender callbackMessageSender,
            IStateChanger stateChanger,
            IStorageConnection connection,
            MethodMatcherCache selector)
        {
            _selector = selector;
            _callbackMessageSender = callbackMessageSender;
            _options      = options;
            _stateChanger = stateChanger;
            _connection   = connection;
            _logger       = logger;

            Invoker = consumerInvokerFactory.CreateInvoker();
        }