예제 #1
0
 public EventHandlerFactory(
     IEthApiContractService ethApi,
     IEventSubscriptionStateRepository stateFactory,
     IEventContractQueryConfigurationRepository contractQueryFactory = null,
     IEventAggregatorRepository eventAggregatorRepository            = null,
     IEthGetTransactionByHash getTransactionProxy                     = null,
     ISubscriberQueueRepository subscriberQueueRepository             = null,
     ISubscriberQueueFactory subscriberQueueFactory                   = null,
     ISubscriberSearchIndexRepository subscriberSearchIndexRepository = null,
     ISubscriberSearchIndexFactory subscriberSearchIndexFactory       = null,
     IEventRuleRepository eventRuleRepository = null,
     ISubscriberStorageRepository subscriberStorageRepository = null,
     ISubscriberStorageFactory subscriberRepositoryFactory    = null)
 {
     EthApi                          = ethApi;
     StateFactory                    = stateFactory;
     ContractQueryFactory            = contractQueryFactory;
     EventAggregatorRepository       = eventAggregatorRepository;
     GetTransactionProxy             = getTransactionProxy;
     SubscriberQueueRepository       = subscriberQueueRepository;
     SubscriberQueueFactory          = subscriberQueueFactory;
     SubscriberSearchIndexRepository = subscriberSearchIndexRepository;
     SubscriberSearchIndexFactory    = subscriberSearchIndexFactory;
     EventRuleRepository             = eventRuleRepository;
     SubscriberStorageRepository     = subscriberStorageRepository;
     SubscriberRepositoryFactory     = subscriberRepositoryFactory;
 }
 public GetTransactionEventHandler(IEventSubscription subscription, long id, IEthGetTransactionByHash proxy)
     : base(subscription, id)
 {
     GetTransactionProxy = proxy;
 }