net.sbbi.upnp.samples
Class MyStateVariableEventsHandler

java.lang.Object
  extended bynet.sbbi.upnp.samples.MyStateVariableEventsHandler
All Implemented Interfaces:
ServiceEventHandler

public class MyStateVariableEventsHandler
extends java.lang.Object
implements ServiceEventHandler


Constructor Summary
MyStateVariableEventsHandler()
           
 
Method Summary
 void handleStateVariableEvent(java.lang.String varName, java.lang.String newValue)
          Handle a var change, called each time a UPNP service fires a state variable eventing message.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyStateVariableEventsHandler

public MyStateVariableEventsHandler()
Method Detail

handleStateVariableEvent

public void handleStateVariableEvent(java.lang.String varName,
                                     java.lang.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 name
newValue - the new state variable value

main

public static void main(java.lang.String[] args)


Copyright © 2005 SuperBonBon Industries. All Rights Reserved.