Class FilteredPushNotificationListener
- java.lang.Object
-
- com.inductiveautomation.ignition.client.gateway_interface.FilteredPushNotificationListener
-
- All Implemented Interfaces:
PushNotificationListener
,java.util.EventListener
- Direct Known Subclasses:
ClientTagSubscriptionManager.ValueUpdateListener
,DesignerSystemUtilities.SendRequestManager
,ScriptMessageReceiver
,ScriptModuleChangeListener
public abstract class FilteredPushNotificationListener extends java.lang.Object implements PushNotificationListener
A notification listener that filters based on module id and one or more message types. Also supports EDT dispatching
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
messageTypes
protected java.lang.String
moduleId
-
Constructor Summary
Constructors Constructor Description FilteredPushNotificationListener(java.lang.String moduleId, java.lang.String... messageTypes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
dispatchOnEDT()
protected abstract void
receive(PushNotification notification)
void
receiveNotification(PushNotification notification)
-
-
-
Method Detail
-
receiveNotification
public final void receiveNotification(PushNotification notification)
- Specified by:
receiveNotification
in interfacePushNotificationListener
-
dispatchOnEDT
protected boolean dispatchOnEDT()
-
receive
protected abstract void receive(PushNotification notification)
-
-