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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MyStateVariableEventsHandler
public MyStateVariableEventsHandler()
handleStateVariableEvent
public void handleStateVariableEvent(String varName,
String newValue)
- Description copied from interface:
ServiceEventHandler
- 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.
- Specified by:
handleStateVariableEvent in interface ServiceEventHandler
- Parameters:
varName - the state variable namenewValue - the new state variable value
main
public static void main(String[] args)
Copyright © 2010. All Rights Reserved.