|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.universaldevices.upnp.UDIEventProcessor
public abstract class UDIEventProcessor
Abstract definition of a class responsible for processing Events scoped to a particular Web Service.
Constructor Summary | |
---|---|
UDIEventProcessor()
|
Method Summary | |
---|---|
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,
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDIEventProcessor()
Method Detail |
---|
public abstract boolean isOurEvent(java.lang.String control)
control
- The event ID
public abstract void processEvent(UDProxyDevice device, java.lang.String control, java.lang.String action, XMLElement ei)
device
- control
- action
- ei
- public abstract void addEventListener(UDIEventListener listener)
listener
- public abstract void removeEventListener(UDIEventListener listener)
listener
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |