com.universaldevices.upnp
Interface UDDeviceStateListener

All Known Implementing Classes:
UDControlPoint

public interface UDDeviceStateListener

This interface makes the implementing class capable of acting upon the changes in the states of ISY

Note: this class is implemented by UDControlPoint which handles all UPnP traffic communications and, as such, no other classes should implement it unless overriding UDControlPoint

Author:
UDArchitect
See Also:
UDControlPoint

Method Summary
 void deviceStateChanged(UDProxyDevice device, java.lang.String control, java.lang.String action, java.lang.String node, XMLElement eventInfo, boolean is_group)
          There was a change in a node attached/linked to ISY
 void offLine(UDProxyDevice device)
          Device is offLine or not responding
 void onLine(UDProxyDevice device)
          Device is onLine
 void systemStatus(UDProxyDevice device, java.lang.String event)
          Notifies the client of important system status changes
 

Method Detail

deviceStateChanged

void deviceStateChanged(UDProxyDevice device,
                        java.lang.String control,
                        java.lang.String action,
                        java.lang.String node,
                        XMLElement eventInfo,
                        boolean is_group)
There was a change in a node attached/linked to ISY

Parameters:
device - - the device UDProxyDevice where the change took place
control - - the [name of] the control which was affected
action - - the [name of] the action (with in the context of a control) which was performed
node - - the [address of] the node which was affected
eventInfo - - general event information to be processed by clients
is_group - - whether or not the affected node is a group/scene
See Also:
UDControl, UDAction, UDNode, UDProxyDevice

offLine

void offLine(UDProxyDevice device)
Device is offLine or not responding

Parameters:
device - - the UDProxyDevice which is now offline
See Also:
UDProxyDevice

onLine

void onLine(UDProxyDevice device)
Device is onLine

Parameters:
device - - the UDProxyDevice which is now online
See Also:
UDProxyDevice

systemStatus

void systemStatus(UDProxyDevice device,
                  java.lang.String event)
Notifies the client of important system status changes

Parameters:
device - - the UDProxyDevice
event - - the event
See Also:
UDProxyDevice