public abstract class UDIEventProcessor
extends java.lang.Object
Constructor and Description |
---|
UDIEventProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addEventListener(UDIEventListener listener)
Adds a listener for events given to this event processor.
|
abstract boolean |
isOurEvent(java.lang.String control)
Return true if the specified event is recognized by this class.
|
abstract void |
processEvent(UDProxyDevice device,
java.lang.String control,
java.lang.String action,
java.lang.String node,
XMLElement ei)
Process the event by providing the appropriate callback to the given listener.
|
abstract void |
removeEventListener(UDIEventListener listener)
Removes a listener for events given to this event processor.
|
public abstract boolean isOurEvent(java.lang.String control)
control
- The event IDpublic abstract void processEvent(UDProxyDevice device, java.lang.String control, java.lang.String action, java.lang.String node, XMLElement ei)
device
- control
- action
- ei
- public abstract void addEventListener(UDIEventListener listener)
listener
- public abstract void removeEventListener(UDIEventListener listener)
listener
-