Ejemplo n.º 1
0
 public QueueService(
     IQueueQuery queueQueryHelper,
     IQueueCommand queueCommandHelper,
     IQueueLocker queueLocker,
     IGetQueueMessagesQuery queueMessages,
     IQueueMessageRecorder historyRecorder,
     IGetAiringQuery airingQueryHelper,
     IAiringMessagePusherQueueApi messagePusher,
     IQueueSaveCommand queueSaveCommand,
     CurrentAiringsQuery currentAiringQuery,
     IHangfireRecurringJobCommand hangfireCommand,
     IRemoteQueueHandler remoteQueueHandler,
     IQueueDeleteCommand queueDeleteCommand)
 {
     this.queueQueryHelper   = queueQueryHelper;
     this.queueCommandHelper = queueCommandHelper;
     this.queueLocker        = queueLocker;
     this.queueMessages      = queueMessages;
     this.historyRecorder    = historyRecorder;
     this.airingQueryHelper  = airingQueryHelper;
     this.messagePusher      = messagePusher;
     this.queueSaveCommand   = queueSaveCommand;
     this.currentAiringQuery = currentAiringQuery;
     this.hangfireCommand    = hangfireCommand;
     this.remoteQueueHandler = remoteQueueHandler;
     this.queueDeleteCommand = queueDeleteCommand;
 }
Ejemplo n.º 2
0
 public DeliveryQueueController(IQueueService queueSvc,
                                AppSettings appsettings,
                                IRemoteQueueHandler remoteQueueHandler,
                                IAiringService airingSvc,
                                IHangfireRecurringJobCommand hangfireCommand
                                )
 {
     this.appsettings        = appsettings;
     _queueSvc               = queueSvc;
     _airingService          = airingSvc;
     this.remoteQueueHandler = remoteQueueHandler;
     this.hangfireCommand    = hangfireCommand;
 }