public WaitForTransactionEndingCommandsHandler(
     ILogFactory logFactory,
     RetryDelayProvider delayProvider,
     IBlockchainApiClientProvider apiClientProvider)
 {
     _log               = logFactory.CreateLog(this);
     _delayProvider     = delayProvider;
     _apiClientProvider = apiClientProvider;
 }
Example #2
0
 public WaitForTransactionEndingCommandHandler(RetryDelayProvider retryDelayProvider,
                                               IBlockchainApiClient client,
                                               ILogFactory logFactory,
                                               IChaosKitty chaosKitty)
 {
     _retryDelayProvider = retryDelayProvider;
     _client             = client;
     _log        = logFactory.CreateLog(this);
     _chaosKitty = chaosKitty;
 }
Example #3
0
 public GenerateActiveTransactionIdCommandsHandler(IActiveTransactionsRepository activeTransactionsRepository,
                                                   IOperationExecutionsRepository repository,
                                                   RetryDelayProvider retryDelayProvider,
                                                   ILogFactory logFactory)
 {
     _activeTransactionsRepository = activeTransactionsRepository;
     _repository         = repository;
     _retryDelayProvider = retryDelayProvider;
     _log = logFactory.CreateLog(this);
 }
 public LockSourceAddressCommandsHandler(
     ILogFactory logFactory,
     IChaosKitty chaosKitty,
     ITransactionExecutionsRepository transactionExecutionsRepository,
     ISourceAddresLocksRepoistory sourceAddresLocksRepoistory,
     RetryDelayProvider retryDelayProvider)
 {
     _log        = logFactory.CreateLog(this);
     _chaosKitty = chaosKitty;
     _transactionExecutionsRepository = transactionExecutionsRepository;
     _sourceAddresLocksRepoistory     = sourceAddresLocksRepoistory;
     _retryDelayProvider = retryDelayProvider;
 }