Package net.sbbi.upnp
Interface ServiceEventHandler
-
- All Known Implementing Classes:
MyStateVariableEventsHandler
public interface ServiceEventHandlerInterface to implement to receive notifications about state variables changes on au UPNP service. The object implementing this interface can be used with the ServicesEventing class register method to receive the desired notifications.- Version:
- 1.0
- Author:
- SuperBonBon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleStateVariableEvent(String varName, String newValue)Handle a var change, called each time a UPNP service fires a state variable eventing message.
-
-
-
Method Detail
-
handleStateVariableEvent
void handleStateVariableEvent(String varName, String newValue)
Handle a var change, called each time a UPNP service fires a state variable eventing message. The code implemented in this method can block the thread.- Parameters:
varName- the state variable namenewValue- the new state variable value
-
-