public UndecodedEventHandler(IBlockchainEventDecoder blockchainEventDecoder,
                              ISettingsService settingsService,
                              ILogFactory logFactory,
                              IWalletLinker walletLinker,
                              IWalletLinkingRequestsRepository requestsRepository,
                              IPushNotificationsPublisher pushNotificationsPublisher,
                              IRabbitPublisher <WalletLinkingStatusChangeCompletedEvent> statusChangeCompletedPublisher)
 {
     _blockchainEventDecoder         = blockchainEventDecoder;
     _settingsService                = settingsService;
     _walletLinker                   = walletLinker;
     _requestsRepository             = requestsRepository;
     _pushNotificationsPublisher     = pushNotificationsPublisher;
     _statusChangeCompletedPublisher = statusChangeCompletedPublisher;
     _log = logFactory.CreateLog(this);
 }
Beispiel #2
0
 public UndecodedEventHandler(
     IRabbitPublisher <PartnersPaymentTokensReservedEvent> paymentTokensReservedPublisher,
     IRabbitPublisher <PartnersPaymentProcessedEvent> paymentProcessedPublisher,
     IPaymentsRepository paymentsRepository,
     IBlockchainEventDecoder eventDecoder,
     IPaymentsStatusUpdater paymentsStatusUpdater,
     ISettingsService settingsService,
     ILogFactory logFactory)
 {
     _paymentTokensReservedPublisher = paymentTokensReservedPublisher;
     _paymentProcessedPublisher      = paymentProcessedPublisher;
     _paymentsRepository             = paymentsRepository;
     _eventDecoder          = eventDecoder;
     _paymentsStatusUpdater = paymentsStatusUpdater;
     _settingsService       = settingsService;
     _log = logFactory.CreateLog(this);
 }
 public UndecodedEventHandler(
     IBlockchainEventDecoder eventDecoder,
     IPaymentsService paymentsService,
     IPaymentTransfersRepository paymentTransfersRepository,
     ILogFactory logFactory,
     IRabbitPublisher <PaymentTransferProcessedEvent> transferProcessedPublisher,
     IRabbitPublisher <PaymentTransferTokensReservedEvent> transferTokensReservedPublisher,
     ISettingsService settingsService)
 {
     _eventDecoder                    = eventDecoder;
     _paymentsService                 = paymentsService;
     _paymentTransfersRepository      = paymentTransfersRepository;
     _transferProcessedPublisher      = transferProcessedPublisher;
     _transferTokensReservedPublisher = transferTokensReservedPublisher;
     _settingsService                 = settingsService;
     _log = logFactory.CreateLog(this);
 }
 public UndecodedEventHandler(
     IBlockchainEventDecoder blockchainEventDecoder,
     IPrivateBlockchainFacadeClient pbfClient,
     ISettingsService settingsService,
     IRabbitPublisher <TransferToExternalProcessedEvent> transferToExternalProcessedPublisher,
     IRabbitPublisher <TransferToInternalCompletedEvent> transferToInternalCompletedPublisher,
     IPushNotificationsPublisher pushNotificationsPublisher,
     IDeduplicationLogRepository deduplicationLogRepository,
     ILogFactory logFactory)
 {
     _blockchainEventDecoder = blockchainEventDecoder;
     _pbfClient       = pbfClient;
     _settingsService = settingsService;
     _transferToExternalProcessedPublisher = transferToExternalProcessedPublisher;
     _transferToInternalCompletedPublisher = transferToInternalCompletedPublisher;
     _pushNotificationsPublisher           = pushNotificationsPublisher;
     _deduplicationLogRepository           = deduplicationLogRepository;
     _log = logFactory.CreateLog(this);
 }