Package | Description |
---|---|
com.neurosys.q.notification.service |
Modifier and Type | Method and Description |
---|---|
protected abstract List<N> |
AbstractTokenNotificationListener.createNotifications(MessageTokenEvent<T> event,
String timeStampId)
Create Notifications N and add to List of final Notifications to send.
|
protected String |
AbstractTokenNotificationListener.deriveMessageId(MessageTokenEvent<T> e,
T token,
String timeStampId) |
protected void |
AbstractTokenNotificationListener.onError(MessageTokenEvent<T> event,
T token,
Throwable err)
On error while sending notification
|
protected void |
AbstractTokenNotificationListener.onSuccess(MessageTokenEvent<T> event,
T token)
On notification successfully sent
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTokenNotificationListener.dispatch(List<N> messages,
List<MessageTokenEvent<T>> events,
TokenEvent<T> parentEvent) |
protected void |
AbstractTokenNotificationListener.onEventSupplierGenEvents(Supplier<List<MessageTokenEvent<T>>> eventsSupplier,
TokenEvent<T> parentEvent) |
protected void |
AbstractTokenNotificationListener.preProcessNotificationEvents(List<MessageTokenEvent<T>> events)
Opportunity to update tokens with things like missing contact
Consumer data etc. |
Copyright © 2018. All rights reserved.