public interface Channel
void cleanUp()
throws ChannelException
ChannelExceptionvoid close()
throws ChannelException
ChannelExceptionvoid confirmDelivery(Collection<String> notificationEventUuids) throws ChannelException
ChannelExceptionvoid confirmDelivery(Collection<String> notificationEventUuids, boolean archive) throws ChannelException
ChannelExceptionvoid confirmDelivery(String notificationEventUuid) throws ChannelException
ChannelExceptionvoid confirmDelivery(String notificationEventUuid, boolean archive) throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvent(String notificationEventUuid) throws ChannelException
ChannelExceptionvoid deleteUserNotificiationEvents(Collection<String> notificationEventUuids) throws ChannelException
ChannelExceptionvoid flush()
throws ChannelException
ChannelExceptionvoid flush(long timestamp)
throws ChannelException
ChannelExceptionList<NotificationEvent> getNotificationEvents() throws ChannelException
ChannelExceptionList<NotificationEvent> getNotificationEvents(boolean flush) throws ChannelException
ChannelExceptionlong getUserId()
void init()
throws ChannelException
ChannelExceptionvoid registerChannelListener(ChannelListener channelListener)
void removeTransientNotificationEvents(Collection<NotificationEvent> notificationEvents)
void removeTransientNotificationEventsByUuid(Collection<String> notificationEventUuids)
void sendNotificationEvent(NotificationEvent notificationEvent) throws ChannelException
ChannelExceptionvoid sendNotificationEvents(Collection<NotificationEvent> notificationEvents) throws ChannelException
ChannelExceptionvoid storeNotificationEvent(NotificationEvent notificationEvent, long currentTime) throws ChannelException
ChannelExceptionvoid unregisterChannelListener(ChannelListener channelListener)