Method | Description | |
---|---|---|
Enqueue ( |
||
NotificationConcurrentQueue ( int maxQueueSize ) : System | ||
PeekNotifications ( int maxCount ) : IWoopsaNotification[] | ||
RemoveNotificationsForSubscription ( int subscriptionId ) : void | ||
RemoveOlder ( int notificationIdAgeOrigin, int notificationIdToRemoveUpTo ) : int |
Method | Description | |
---|---|---|
notificationAge ( int notificationIdOrigin, int notificationId ) : int |
public Enqueue ( |
||
subscription | ||
notification | IWoopsaNotification | |
itemDiscarded | bool | |
return | void |
public NotificationConcurrentQueue ( int maxQueueSize ) : System | ||
maxQueueSize | int | |
return | System |
public PeekNotifications ( int maxCount ) : IWoopsaNotification[] | ||
maxCount | int | |
return | IWoopsaNotification[] |
public RemoveNotificationsForSubscription ( int subscriptionId ) : void | ||
subscriptionId | int | |
return | void |
public RemoveOlder ( int notificationIdAgeOrigin, int notificationIdToRemoveUpTo ) : int | ||
notificationIdAgeOrigin | int | |
notificationIdToRemoveUpTo | int | |
return | int |