public abstract class UDIEventProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UDIEventProcessor.Info |
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.
|
void |
processEvent(UDProxyDevice device,
UDIEventProcessor.Info info,
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 void processEvent(UDProxyDevice device, UDIEventProcessor.Info info, java.lang.String control, java.lang.String action, java.lang.String node, XMLElement ei)
public abstract void processEvent(UDProxyDevice device, java.lang.String control, java.lang.String action, java.lang.String node, XMLElement ei)
public abstract void addEventListener(UDIEventListener listener)
listener
- public abstract void removeEventListener(UDIEventListener listener)
listener
-