Class MyStateVariableEventsHandler

    • Constructor Detail

      • MyStateVariableEventsHandler

        public MyStateVariableEventsHandler()
    • Method Detail

      • 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 name
        newValue - the new state variable value
      • main

        public static void main​(String[] args)