public abstract class FilteredPushNotificationListener extends java.lang.Object implements PushNotificationListener
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
messageTypes |
protected java.lang.String |
moduleId |
Constructor and Description |
---|
FilteredPushNotificationListener(java.lang.String moduleId,
java.lang.String... messageTypes) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dispatchOnEDT() |
protected abstract void |
receive(PushNotification notification) |
void |
receiveNotification(PushNotification notification) |
protected java.lang.String moduleId
protected java.util.Set<java.lang.String> messageTypes
public FilteredPushNotificationListener(java.lang.String moduleId, java.lang.String... messageTypes)
public final void receiveNotification(PushNotification notification)
receiveNotification
in interface PushNotificationListener
protected boolean dispatchOnEDT()
protected abstract void receive(PushNotification notification)