Package net.sbbi.upnp

Interface ServiceEventHandler

  • All Known Implementing Classes:
    MyStateVariableEventsHandler

    public interface ServiceEventHandler
    Interface 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 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 name
        newValue - the new state variable value