public interface Channel
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
void |
close() |
void |
confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids) |
void |
confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids,
boolean archive) |
void |
confirmDelivery(java.lang.String notificationEventUuid) |
void |
confirmDelivery(java.lang.String notificationEventUuid,
boolean archive) |
void |
deleteUserNotificiationEvent(java.lang.String notificationEventUuid) |
void |
deleteUserNotificiationEvents(java.util.Collection<java.lang.String> notificationEventUuids) |
void |
flush() |
void |
flush(long timestamp) |
java.util.List<NotificationEvent> |
getNotificationEvents() |
java.util.List<NotificationEvent> |
getNotificationEvents(boolean flush) |
long |
getUserId() |
void |
init() |
void |
registerChannelListener(ChannelListener channelListener) |
void |
removeTransientNotificationEvents(java.util.Collection<NotificationEvent> notificationEvents) |
void |
removeTransientNotificationEventsByUuid(java.util.Collection<java.lang.String> notificationEventUuids) |
void |
sendNotificationEvent(NotificationEvent notificationEvent) |
void |
sendNotificationEvents(java.util.Collection<NotificationEvent> notificationEvents) |
void |
storeNotificationEvent(NotificationEvent notificationEvent,
long currentTime) |
void |
unregisterChannelListener(ChannelListener channelListener) |
void cleanUp()
throws ChannelException
ChannelExceptionvoid close()
throws ChannelException
ChannelExceptionvoid confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids)
throws ChannelException
ChannelExceptionvoid confirmDelivery(java.util.Collection<java.lang.String> notificationEventUuids,
boolean archive)
throws ChannelException
ChannelExceptionvoid confirmDelivery(java.lang.String notificationEventUuid)
throws ChannelException
ChannelExceptionvoid confirmDelivery(java.lang.String notificationEventUuid,
boolean archive)
throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvent(java.lang.String notificationEventUuid)
throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvents(java.util.Collection<java.lang.String> notificationEventUuids)
throws ChannelException
ChannelExceptionvoid flush()
throws ChannelException
ChannelExceptionvoid flush(long timestamp)
throws ChannelException
ChannelExceptionjava.util.List<NotificationEvent> getNotificationEvents() throws ChannelException
ChannelExceptionjava.util.List<NotificationEvent> getNotificationEvents(boolean flush) throws ChannelException
ChannelExceptionlong getUserId()
void init()
throws ChannelException
ChannelExceptionvoid registerChannelListener(ChannelListener channelListener)
void removeTransientNotificationEvents(java.util.Collection<NotificationEvent> notificationEvents)
void removeTransientNotificationEventsByUuid(java.util.Collection<java.lang.String> notificationEventUuids)
void sendNotificationEvent(NotificationEvent notificationEvent) throws ChannelException
ChannelExceptionvoid sendNotificationEvents(java.util.Collection<NotificationEvent> notificationEvents) throws ChannelException
ChannelExceptionvoid storeNotificationEvent(NotificationEvent notificationEvent, long currentTime) throws ChannelException
ChannelExceptionvoid unregisterChannelListener(ChannelListener channelListener)