|
1 | 1 | using Resgrid.Model.Events; |
2 | 2 | using Resgrid.Model.Queue; |
| 3 | +using System.Threading.Tasks; |
3 | 4 |
|
4 | 5 | namespace Resgrid.Model.Providers |
5 | 6 | { |
6 | 7 | public interface IRabbitOutboundQueueProvider |
7 | 8 | { |
8 | | - bool EnqueueCall(CallQueueItem callQueue); |
9 | | - bool EnqueueMessage(MessageQueueItem messageQueue); |
10 | | - bool EnqueueDistributionList(DistributionListQueueItem distributionListQueue); |
11 | | - bool EnqueueNotification(NotificationItem notificationQueue); |
12 | | - bool EnqueueShiftNotification(ShiftQueueItem shiftQueueItem); |
13 | | - bool EnqueueCqrsEvent(CqrsEvent cqrsEvent); |
14 | | - bool EnqueueAuditEvent(AuditEvent auditEvent); |
15 | | - bool EnqueueUnitLocationEvent(UnitLocationEvent unitLocationEvent); |
16 | | - bool EnqueuePersonnelLocationEvent(PersonnelLocationEvent personnelLocationEvent); |
17 | | - bool VerifyAndCreateClients(); |
| 9 | + Task<bool> EnqueueCall(CallQueueItem callQueue); |
| 10 | + Task<bool> EnqueueMessage(MessageQueueItem messageQueue); |
| 11 | + Task<bool> EnqueueDistributionList(DistributionListQueueItem distributionListQueue); |
| 12 | + Task<bool> EnqueueNotification(NotificationItem notificationQueue); |
| 13 | + Task<bool> EnqueueShiftNotification(ShiftQueueItem shiftQueueItem); |
| 14 | + Task<bool> EnqueueCqrsEvent(CqrsEvent cqrsEvent); |
| 15 | + Task<bool> EnqueueAuditEvent(AuditEvent auditEvent); |
| 16 | + Task<bool> EnqueueUnitLocationEvent(UnitLocationEvent unitLocationEvent); |
| 17 | + Task<bool> EnqueuePersonnelLocationEvent(PersonnelLocationEvent personnelLocationEvent); |
| 18 | + Task<bool> VerifyAndCreateClients(); |
18 | 19 | } |
19 | 20 | } |
0 commit comments