Example #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;
 }
Example #2
0
 public DfStatusService(
     IDfStatusQuery statusQuery,
     IDfStatusMover statusMover,
     CurrentAiringsQuery currentAiringsQuery)
 {
     _statusQuery         = statusQuery;
     _statusMover         = statusMover;
     _currentAiringsQuery = currentAiringsQuery;
 }
Example #3
0
 public AiringService(IGetAiringQuery airingQueryHelper,
                      AppSettings appSettings,
                      IAiringSaveCommand airingSaveCommandHelper,
                      IAiringDeleteCommand airingDeleteCommandHelper, IAiringMessagePusher airingMessagePusherCommandHelper,
                      IQueueQuery queueQueryHelper,
                      ITaskUpdater taskUpdaterCommand,
                      IFileQuery fileQueryHelper,
                      IDestinationQuery destinationQueryHelper,
                      IPackageQuery packageQueryHelper,
                      IChangeHistoricalAiringQuery changeHistoricalAiringQueryHelper,
                      IChangeDeletedAiringQuery changeDeletedAiringQueryHelper,
                      IDeportExpiredAiring deportExpiredAiringHelper,
                      CurrentAiringsQuery currentAiringsQuery,
                      DeletedAiringsQuery deletedAiringsQuery,
                      IUpdateDeletedAiringQueueDelivery updateDeletedAiringQueueDelivery,
                      IUpdateAiringQueueDelivery updateAiringQueueDelivery,
                      IPackageCommand packagePersist,
                      IPurgeAiringCommand purgeAiringCommand,
                      IChangeNotificationCommands changeNotificaitonCommands,
                      IApplicationContext cntx
                      )
 {
     this.airingQueryHelper                = airingQueryHelper;
     this.airingSaveCommandHelper          = airingSaveCommandHelper;
     this.airingDeleteCommandHelper        = airingDeleteCommandHelper;
     this.airingMessagePusherCommandHelper = airingMessagePusherCommandHelper;
     this.queueQueryHelper                  = queueQueryHelper;
     this.taskUpdaterCommand                = taskUpdaterCommand;
     this.fileQueryHelper                   = fileQueryHelper;
     this.appSettings                       = appSettings;
     this.destinationQueryHelper            = destinationQueryHelper;
     this.packageQueryHelper                = packageQueryHelper;
     this.changeHistoricalAiringQueryHelper = changeHistoricalAiringQueryHelper;
     this.changeDeletedAiringQueryHelper    = changeDeletedAiringQueryHelper;
     this.deportExpiredAiringHelper         = deportExpiredAiringHelper;
     this.currentAiringsQuery               = currentAiringsQuery;
     this.deletedAiringsQuery               = deletedAiringsQuery;
     this.updateAiringQueueDelivery         = updateAiringQueueDelivery;
     this.updateDeletedAiringQueueDelivery  = updateDeletedAiringQueueDelivery;
     this.packagePersist                    = packagePersist;
     this.purgeAiringCommand                = purgeAiringCommand;
     this.changeNotificationCommand         = changeNotificaitonCommands;
     this.cntx = cntx;
 }