Package net.sbbi.upnp.samples
Class MyStateVariableEventsHandler
- java.lang.Object
-
- net.sbbi.upnp.samples.MyStateVariableEventsHandler
-
- All Implemented Interfaces:
ServiceEventHandler
public class MyStateVariableEventsHandler extends Object implements ServiceEventHandler
-
-
Constructor Summary
Constructors Constructor Description MyStateVariableEventsHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.static voidmain(String[] args)
-
-
-
Method Detail
-
handleStateVariableEvent
public void handleStateVariableEvent(String varName, String newValue)
Description copied from interface:ServiceEventHandlerHandle 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.- Specified by:
handleStateVariableEventin interfaceServiceEventHandler- Parameters:
varName- the state variable namenewValue- the new state variable value
-
main
public static void main(String[] args)
-
-