com.universaldevices.device.model
Interface IModelChangeListener

All Known Implementing Classes:
ISYClient, ISYInsteonClient, MyISYInsteonClient, UDClient, UDModelChangeListener

public interface IModelChangeListener

Author:
UD Architect

Field Summary
static java.lang.String UD_BATCH_MODE_CHANGED_ACTION
           
static java.lang.String UD_BATTERY_DEVICE_WRITE_MODE_CHANGED_ACTION
           
static java.lang.String UD_CLIENT_HEART_BEAT_EVENT
           
static java.lang.String UD_DEVICE_SPECIFIC_EVENT
           
static java.lang.String UD_DISCOVERING_NODES_ACTION
          global
static java.lang.String UD_DISCOVERING_NODES_COMPLETE_ACTION
           
static java.lang.String UD_FOLDER_ADDED_ACTION
           
static java.lang.String UD_FOLDER_REMOVED_ACTION
           
static java.lang.String UD_FOLDER_RENAMED_ACTION
          Folders
static java.lang.String UD_GROUP_ADDED_ACTION
           
static java.lang.String UD_GROUP_REMOVED_ACTION
           
static java.lang.String UD_GROUP_RENAMED_ACTION
          groups
static java.lang.String UD_INTERNET_ACCESS_DISABLED_ACTION
           
static java.lang.String UD_INTERNET_ACCESS_ENABLED_ACTION
           
static java.lang.String UD_INTERNET_ACCESS_EVENT
           
static java.lang.String UD_INTERNET_ACCESS_FAILED_ACTION
           
static java.lang.String UD_NETWORK_RENAMED_ACTION
           
static java.lang.String UD_NODE_ADDED_ACTION
           
static java.lang.String UD_NODE_CHANGE_LINK_ACTION
           
static java.lang.String UD_NODE_CLEAR_ERROR_ACTION
           
static java.lang.String UD_NODE_DEVICE_ID_CHANGED
           
static java.lang.String UD_NODE_DEVICE_PROPERTY_CHANGED
          Properties
static java.lang.String UD_NODE_ENABLED_ACTION
           
static java.lang.String UD_NODE_HAS_PENDING_DEVICE_WRITES_ACTION
           
static java.lang.String UD_NODE_IN_ERROR_ACTION
           
static java.lang.String UD_NODE_MOVED_ACTION
           
static java.lang.String UD_NODE_PARENT_CHANGED_ACTION
           
static java.lang.String UD_NODE_POWER_INFO_CHANGED_ACTION
           
static java.lang.String UD_NODE_REMOVED_ACTION
           
static java.lang.String UD_NODE_REMOVED_FROM_GROUP_ACTION
           
static java.lang.String UD_NODE_RENAMED_ACTION
          nodes
static java.lang.String UD_NODE_REVISED_ACTION
           
static java.lang.String UD_NODE_WRITING_TO_DEVICE_ACTION
           
static java.lang.String UD_NODES_UPDATED_EVENT
          different for each protocol
static java.lang.String UD_NOTIFICATION_SETTINGS_UPDATED_ACTION
           
static java.lang.String UD_NTP_COMM_FAILED_ACTION
           
static java.lang.String UD_NTP_SETTINGS_UPDATED_ACTION
           
static java.lang.String UD_PROGRESS_EVENT_UPDATE
           
static java.lang.String UD_PROGRESS_UPDATED_EVENT
           
static java.lang.String UD_SYS_CONFIG_UPDATED_EVENT
           
static java.lang.String UD_SYSTEM_BUSY_EVENT
           
static java.lang.String UD_SYSTEM_IS_BUSY_ACTION
           
static java.lang.String UD_SYSTEM_IS_IDLE_ACTION
           
static java.lang.String UD_SYSTEM_IS_IN_SAFE_MODE_ACTION
           
static java.lang.String UD_SYSTEM_IS_NOT_BUSY_ACTION
           
static java.lang.String UD_TIME_CHANGED_ACTION
           
static java.lang.String UD_TIME_CONFIG_CHANGED_ACTION
           
static java.lang.String UD_TRIGGER_EVENT_GET_STATUS
           
static java.lang.String UD_TRIGGER_EVENT_INFO_STRING
           
static java.lang.String UD_TRIGGER_EVENT_KEY_CHANGED
           
static java.lang.String UD_TRIGGER_EVENT_LEARN_IR
           
static java.lang.String UD_TRIGGER_EVENT_SCHEDULE
           
static java.lang.String UD_TRIGGER_EVENT_STATUS
           
static java.lang.String UD_TRIGGER_EVENT_VAR_INIT
           
static java.lang.String UD_TRIGGER_EVENT_VAR_STATUS
           
static java.lang.String UD_TRIGGER_UPDATED_EVENT
           
 
Method Summary
 void onDeviceOffLine(UDProxyDevice device)
          Notifies the client that ISY is no longer reachable
 void onDeviceOnLine(UDProxyDevice device)
          Notifies the client that ISY is accessible and on-line.
 void onDeviceSpecific(UDProxyDevice device, java.lang.String action, java.lang.String node, XMLElement ei)
          Notifies the client of any device specific changes.
 void onDiscoveringNodes(UDProxyDevice device)
          Notifies the client that the system is in Linking mode.
 void onFolderRemoved(UDProxyDevice device, java.lang.String folderAddress)
          Notifies the client of the removal of a folder from the system.
 void onFolderRenamed(UDProxyDevice device, UDFolder folder)
          Notifies the client of the change in name of a folder in the system.
 void onGroupRemoved(UDProxyDevice device, java.lang.String groupAddress)
          Notifies the client of the removal of a group from the system.
 void onGroupRenamed(UDProxyDevice device, UDGroup group)
          Notifies the client of the change in name of a group in the system.
 void onInternetAccessUpdated(UDProxyDevice device, java.lang.String url, java.lang.String action)
          Notifies the client of the status of internet access
 void onModelChanged(UDProxyDevice device, UDControl control, java.lang.Object value, UDNode node)
          Notifies the client that a UDControl changed.
 void onNetworkRenamed(UDProxyDevice device, java.lang.String newName)
          Notifies the client of the name change in the top most node in the device tree (network).
 void onNewDevice(UDProxyDevice device)
          Notifies the client that a new device was discovered.
 void onNewFolder(UDProxyDevice device, UDFolder newFolder)
          Notifies the client of the addition of a new folder to the system.
 void onNewGroup(UDProxyDevice device, UDGroup newGroup)
          Notifies the client of the addition of a new group/scene to the system.
 void onNewNode(UDProxyDevice device, UDNode newNode)
          Notifies the client of the addition of a new node (device) to the system.
 void onNodeDeviceIdChanged(UDProxyDevice device, UDNode node)
          Notifies the client that the address of the device represented by this node has changed.
 void onNodeDevicePropertiesRefreshed(UDProxyDevice device, UDNode node)
          Notifies the client that all the devices properties for a node were refreshed
 void onNodeDevicePropertiesRefreshedComplete(UDProxyDevice proxyDevice)
          Called after the properties for one or more nodes has been refreshed.
 void onNodeDevicePropertyChanged(UDProxyDevice device, UDNode node, com.universaldevices.common.properties.UDProperty<?> property)
          Notifies the client that a node property has changed
 void onNodeDiscoveryStopped(UDProxyDevice device)
          Notifies the client that the system is no longer in Linking mode.
 void onNodeEnabled(UDProxyDevice device, UDNode node, boolean b)
          Notifies the client that a node (device) in the system has either been enabled or disabled
 void onNodeError(UDProxyDevice device, UDNode node)
          Notifies the client that a node (device) in the system has encountered an error (communications or otherwise)
 void onNodeErrorCleared(UDProxyDevice device, UDNode node)
          Notifies the client that a node (device) in the system no longer has an error (communications or otherwise)
 void onNodeHasPendingDeviceWrites(UDProxyDevice device, UDNode node, boolean hasPending)
          Notifies the client that a node's parent has changed
 void onNodeIsWritingToDevice(UDProxyDevice device, UDNode node, boolean isWriting)
          Notifies the client that a node's parent has changed
 void onNodeMoved(UDProxyDevice device, UDNode node, UDGroup group, char role)
          Notifies the client that a node was moved into a group/scene
 void onNodeParentChanged(UDProxyDevice device, UDNode node, UDNode newParent)
          Notifies the client that a node's parent has changed
 void onNodePowerInfoChanged(UDProxyDevice device, UDNode node)
          Notifies the clients that the node's power utilization information has changed
 void onNodeRemoved(UDProxyDevice device, java.lang.String nodeAddress)
          Notifies the client of the removal of a node (device) from the system.
 void onNodeRemovedFromGroup(UDProxyDevice device, UDNode node, UDGroup group)
          Notifies the client of the removal of a node from a group in the system.
 void onNodeRenamed(UDProxyDevice device, UDNode node)
          Notifies the client of the change in name of a node in the system.
 void onNodeRevised(UDProxyDevice device, UDNode node)
          Notifies the client of the revision of a node (device) to the system.
 void onNodeToGroupRoleChanged(UDProxyDevice device, UDNode node, UDGroup group, char new_role)
          Notifies the client that the node's role for a group changed
 void onProgress(UDProxyDevice device, java.lang.String action, XMLElement ei)
          Notifies the client of the progress of actions currently being taken.
 void onSystemConfigChanged(UDProxyDevice device, java.lang.String event, XMLElement eventInfo)
          Notifies the client that system configurations have changed
 void onSystemStatus(UDProxyDevice device, java.lang.String event)
          Notifies the client whether or not the system is busy
 void onTriggerStatus(UDProxyDevice device, java.lang.String action, XMLElement ei)
          Notifies the client of any changes in the schedules
 

Field Detail

UD_CLIENT_HEART_BEAT_EVENT

static final java.lang.String UD_CLIENT_HEART_BEAT_EVENT
See Also:
Constant Field Values

UD_TRIGGER_UPDATED_EVENT

static final java.lang.String UD_TRIGGER_UPDATED_EVENT
See Also:
Constant Field Values

UD_TRIGGER_EVENT_STATUS

static final java.lang.String UD_TRIGGER_EVENT_STATUS
See Also:
Constant Field Values

UD_TRIGGER_EVENT_GET_STATUS

static final java.lang.String UD_TRIGGER_EVENT_GET_STATUS
See Also:
Constant Field Values

UD_TRIGGER_EVENT_KEY_CHANGED

static final java.lang.String UD_TRIGGER_EVENT_KEY_CHANGED
See Also:
Constant Field Values

UD_TRIGGER_EVENT_INFO_STRING

static final java.lang.String UD_TRIGGER_EVENT_INFO_STRING
See Also:
Constant Field Values

UD_TRIGGER_EVENT_LEARN_IR

static final java.lang.String UD_TRIGGER_EVENT_LEARN_IR
See Also:
Constant Field Values

UD_TRIGGER_EVENT_SCHEDULE

static final java.lang.String UD_TRIGGER_EVENT_SCHEDULE
See Also:
Constant Field Values

UD_TRIGGER_EVENT_VAR_STATUS

static final java.lang.String UD_TRIGGER_EVENT_VAR_STATUS
See Also:
Constant Field Values

UD_TRIGGER_EVENT_VAR_INIT

static final java.lang.String UD_TRIGGER_EVENT_VAR_INIT
See Also:
Constant Field Values

UD_DEVICE_SPECIFIC_EVENT

static final java.lang.String UD_DEVICE_SPECIFIC_EVENT
See Also:
Constant Field Values

UD_NODES_UPDATED_EVENT

static final java.lang.String UD_NODES_UPDATED_EVENT
different for each protocol

See Also:
Constant Field Values

UD_NODE_RENAMED_ACTION

static final java.lang.String UD_NODE_RENAMED_ACTION
nodes

See Also:
Constant Field Values

UD_NODE_REMOVED_ACTION

static final java.lang.String UD_NODE_REMOVED_ACTION
See Also:
Constant Field Values

UD_NODE_ADDED_ACTION

static final java.lang.String UD_NODE_ADDED_ACTION
See Also:
Constant Field Values

UD_NODE_REVISED_ACTION

static final java.lang.String UD_NODE_REVISED_ACTION
See Also:
Constant Field Values

UD_NODE_IN_ERROR_ACTION

static final java.lang.String UD_NODE_IN_ERROR_ACTION
See Also:
Constant Field Values

UD_NODE_CLEAR_ERROR_ACTION

static final java.lang.String UD_NODE_CLEAR_ERROR_ACTION
See Also:
Constant Field Values

UD_NODE_ENABLED_ACTION

static final java.lang.String UD_NODE_ENABLED_ACTION
See Also:
Constant Field Values

UD_NODE_PARENT_CHANGED_ACTION

static final java.lang.String UD_NODE_PARENT_CHANGED_ACTION
See Also:
Constant Field Values

UD_NODE_HAS_PENDING_DEVICE_WRITES_ACTION

static final java.lang.String UD_NODE_HAS_PENDING_DEVICE_WRITES_ACTION
See Also:
Constant Field Values

UD_NODE_WRITING_TO_DEVICE_ACTION

static final java.lang.String UD_NODE_WRITING_TO_DEVICE_ACTION
See Also:
Constant Field Values

UD_NODE_POWER_INFO_CHANGED_ACTION

static final java.lang.String UD_NODE_POWER_INFO_CHANGED_ACTION
See Also:
Constant Field Values

UD_NODE_DEVICE_ID_CHANGED

static final java.lang.String UD_NODE_DEVICE_ID_CHANGED
See Also:
Constant Field Values

UD_NODE_DEVICE_PROPERTY_CHANGED

static final java.lang.String UD_NODE_DEVICE_PROPERTY_CHANGED
Properties

See Also:
Constant Field Values

UD_GROUP_RENAMED_ACTION

static final java.lang.String UD_GROUP_RENAMED_ACTION
groups

See Also:
Constant Field Values

UD_GROUP_REMOVED_ACTION

static final java.lang.String UD_GROUP_REMOVED_ACTION
See Also:
Constant Field Values

UD_GROUP_ADDED_ACTION

static final java.lang.String UD_GROUP_ADDED_ACTION
See Also:
Constant Field Values

UD_NODE_MOVED_ACTION

static final java.lang.String UD_NODE_MOVED_ACTION
See Also:
Constant Field Values

UD_NODE_CHANGE_LINK_ACTION

static final java.lang.String UD_NODE_CHANGE_LINK_ACTION
See Also:
Constant Field Values

UD_NODE_REMOVED_FROM_GROUP_ACTION

static final java.lang.String UD_NODE_REMOVED_FROM_GROUP_ACTION
See Also:
Constant Field Values

UD_FOLDER_RENAMED_ACTION

static final java.lang.String UD_FOLDER_RENAMED_ACTION
Folders

See Also:
Constant Field Values

UD_FOLDER_REMOVED_ACTION

static final java.lang.String UD_FOLDER_REMOVED_ACTION
See Also:
Constant Field Values

UD_FOLDER_ADDED_ACTION

static final java.lang.String UD_FOLDER_ADDED_ACTION
See Also:
Constant Field Values

UD_DISCOVERING_NODES_ACTION

static final java.lang.String UD_DISCOVERING_NODES_ACTION
global

See Also:
Constant Field Values

UD_DISCOVERING_NODES_COMPLETE_ACTION

static final java.lang.String UD_DISCOVERING_NODES_COMPLETE_ACTION
See Also:
Constant Field Values

UD_NETWORK_RENAMED_ACTION

static final java.lang.String UD_NETWORK_RENAMED_ACTION
See Also:
Constant Field Values

UD_SYS_CONFIG_UPDATED_EVENT

static final java.lang.String UD_SYS_CONFIG_UPDATED_EVENT
See Also:
Constant Field Values

UD_TIME_CHANGED_ACTION

static final java.lang.String UD_TIME_CHANGED_ACTION
See Also:
Constant Field Values

UD_TIME_CONFIG_CHANGED_ACTION

static final java.lang.String UD_TIME_CONFIG_CHANGED_ACTION
See Also:
Constant Field Values

UD_NTP_SETTINGS_UPDATED_ACTION

static final java.lang.String UD_NTP_SETTINGS_UPDATED_ACTION
See Also:
Constant Field Values

UD_NOTIFICATION_SETTINGS_UPDATED_ACTION

static final java.lang.String UD_NOTIFICATION_SETTINGS_UPDATED_ACTION
See Also:
Constant Field Values

UD_NTP_COMM_FAILED_ACTION

static final java.lang.String UD_NTP_COMM_FAILED_ACTION
See Also:
Constant Field Values

UD_BATCH_MODE_CHANGED_ACTION

static final java.lang.String UD_BATCH_MODE_CHANGED_ACTION
See Also:
Constant Field Values

UD_BATTERY_DEVICE_WRITE_MODE_CHANGED_ACTION

static final java.lang.String UD_BATTERY_DEVICE_WRITE_MODE_CHANGED_ACTION
See Also:
Constant Field Values

UD_SYSTEM_BUSY_EVENT

static final java.lang.String UD_SYSTEM_BUSY_EVENT
See Also:
Constant Field Values

UD_SYSTEM_IS_NOT_BUSY_ACTION

static final java.lang.String UD_SYSTEM_IS_NOT_BUSY_ACTION
See Also:
Constant Field Values

UD_SYSTEM_IS_BUSY_ACTION

static final java.lang.String UD_SYSTEM_IS_BUSY_ACTION
See Also:
Constant Field Values

UD_SYSTEM_IS_IDLE_ACTION

static final java.lang.String UD_SYSTEM_IS_IDLE_ACTION
See Also:
Constant Field Values

UD_SYSTEM_IS_IN_SAFE_MODE_ACTION

static final java.lang.String UD_SYSTEM_IS_IN_SAFE_MODE_ACTION
See Also:
Constant Field Values

UD_INTERNET_ACCESS_EVENT

static final java.lang.String UD_INTERNET_ACCESS_EVENT
See Also:
Constant Field Values

UD_INTERNET_ACCESS_DISABLED_ACTION

static final java.lang.String UD_INTERNET_ACCESS_DISABLED_ACTION
See Also:
Constant Field Values

UD_INTERNET_ACCESS_ENABLED_ACTION

static final java.lang.String UD_INTERNET_ACCESS_ENABLED_ACTION
See Also:
Constant Field Values

UD_INTERNET_ACCESS_FAILED_ACTION

static final java.lang.String UD_INTERNET_ACCESS_FAILED_ACTION
See Also:
Constant Field Values

UD_PROGRESS_UPDATED_EVENT

static final java.lang.String UD_PROGRESS_UPDATED_EVENT
See Also:
Constant Field Values

UD_PROGRESS_EVENT_UPDATE

static final java.lang.String UD_PROGRESS_EVENT_UPDATE
See Also:
Constant Field Values
Method Detail

onModelChanged

void onModelChanged(UDProxyDevice device,
                    UDControl control,
                    java.lang.Object value,
                    UDNode node)
Notifies the client that a UDControl changed. i.e. The status was changed to on or a switch was turned off, etc.

Parameters:
device - - the UDProxyDevice originating this event
control - - the UDControl which was affected
value - - the new value of the UDControl
node - - the UDNode (or linked device) which was affected

onDeviceOffLine

void onDeviceOffLine(UDProxyDevice device)
Notifies the client that ISY is no longer reachable

Parameters:
device - - the UDProxyDevice which is no longer reachable

onDeviceOnLine

void onDeviceOnLine(UDProxyDevice device)
Notifies the client that ISY is accessible and on-line.

Parameters:
device - - the UDProxyDevice which is on-line

onNewDevice

void onNewDevice(UDProxyDevice device)
Notifies the client that a new device was discovered. The client, then, may take appropriate action based on the newly discovered device

Parameters:
device - - the UDProxyDevice which has been discovered

onInternetAccessUpdated

void onInternetAccessUpdated(UDProxyDevice device,
                             java.lang.String url,
                             java.lang.String action)
Notifies the client of the status of internet access

Parameters:
device - - the UDProxyDevice originating this event
url - - if enabled, the url through which the device can be accessed
action - - any of the following all defined in this interface: UD_INTERNET_ACCESS_ENABLED_ACTION UD_INTERNET_ACCESS_DISABLED_ACTION UD_INTERNET_ACCESS_FAILED_ACTION

onDeviceSpecific

void onDeviceSpecific(UDProxyDevice device,
                      java.lang.String action,
                      java.lang.String node,
                      XMLElement ei)
Notifies the client of any device specific changes.

Parameters:
device - The UDProxyDevice originating this event
action - The action to perform based on this event
node - (if any) to which this action was performed
ei - Detailed status information

onProgress

void onProgress(UDProxyDevice device,
                java.lang.String action,
                XMLElement ei)
Notifies the client of the progress of actions currently being taken.

Parameters:
device - The UDProxyDevice originating this event
action - The action to perform based on this event
ei - Detailed status information

onTriggerStatus

void onTriggerStatus(UDProxyDevice device,
                     java.lang.String action,
                     XMLElement ei)
Notifies the client of any changes in the schedules

Parameters:
device - The UDProxyDevice originating this event
action - The action to perform based on this event
ei - Detailed status information

onDiscoveringNodes

void onDiscoveringNodes(UDProxyDevice device)
Notifies the client that the system is in Linking mode. Except for logging requests, all other requests will be denied

Parameters:
device - - the UDProxyDevice originating this event

onNodeDiscoveryStopped

void onNodeDiscoveryStopped(UDProxyDevice device)
Notifies the client that the system is no longer in Linking mode.

Parameters:
device - - the UDProxyDevice originating this event

onNetworkRenamed

void onNetworkRenamed(UDProxyDevice device,
                      java.lang.String newName)
Notifies the client of the name change in the top most node in the device tree (network).

Parameters:
device - - the UDProxyDevice originating this event
newName - - the new name for network

onNewNode

void onNewNode(UDProxyDevice device,
               UDNode newNode)
Notifies the client of the addition of a new node (device) to the system.

Parameters:
device - - the UDProxyDevice originating this event
newNode - - the new UDNode which was added

onNodeRevised

void onNodeRevised(UDProxyDevice device,
                   UDNode node)
Notifies the client of the revision of a node (device) to the system.

Parameters:
device - - the UDProxyDevice originating this event
node - - the new UDNode which was revised

onNodeRenamed

void onNodeRenamed(UDProxyDevice device,
                   UDNode node)
Notifies the client of the change in name of a node in the system.

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode which was renamed. The UDNode will have the new name.

onNodeRemoved

void onNodeRemoved(UDProxyDevice device,
                   java.lang.String nodeAddress)
Notifies the client of the removal of a node (device) from the system.

Parameters:
device - - the UDProxyDevice originating this event
nodeAddress - - the address of the node which has been removed

onNodeDeviceIdChanged

void onNodeDeviceIdChanged(UDProxyDevice device,
                           UDNode node)
Notifies the client that the address of the device represented by this node has changed.

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode

onNodeError

void onNodeError(UDProxyDevice device,
                 UDNode node)
Notifies the client that a node (device) in the system has encountered an error (communications or otherwise)

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode that is in error

onNodeErrorCleared

void onNodeErrorCleared(UDProxyDevice device,
                        UDNode node)
Notifies the client that a node (device) in the system no longer has an error (communications or otherwise)

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode that was in error

onNodeEnabled

void onNodeEnabled(UDProxyDevice device,
                   UDNode node,
                   boolean b)
Notifies the client that a node (device) in the system has either been enabled or disabled

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode that is enabled or disabled
b - - if true, node is enabled, otherwise node is disabled

onNodeParentChanged

void onNodeParentChanged(UDProxyDevice device,
                         UDNode node,
                         UDNode newParent)
Notifies the client that a node's parent has changed

Parameters:
node - - the UDNode that has its parent changed
newParent - - the UDNode of the new parent - may be null

onNodeHasPendingDeviceWrites

void onNodeHasPendingDeviceWrites(UDProxyDevice device,
                                  UDNode node,
                                  boolean hasPending)
Notifies the client that a node's parent has changed

Parameters:
node - The UDNode that changed
hasPending - Flag indicating whether device writes waiting to be written or not.

onNodeIsWritingToDevice

void onNodeIsWritingToDevice(UDProxyDevice device,
                             UDNode node,
                             boolean isWriting)
Notifies the client that a node's parent has changed

Parameters:
node - The UDNode that changed
isWriting - Flag indicating whether data is currently being written to the device or not.

onNodeDevicePropertyChanged

void onNodeDevicePropertyChanged(UDProxyDevice device,
                                 UDNode node,
                                 com.universaldevices.common.properties.UDProperty<?> property)
Notifies the client that a node property has changed

Parameters:
node - The UDNode that changed
property - The property that changed.

onNodeDevicePropertiesRefreshed

void onNodeDevicePropertiesRefreshed(UDProxyDevice device,
                                     UDNode node)
Notifies the client that all the devices properties for a node were refreshed

Parameters:
node - The UDNode that changed

onNodeDevicePropertiesRefreshedComplete

void onNodeDevicePropertiesRefreshedComplete(UDProxyDevice proxyDevice)
Called after the properties for one or more nodes has been refreshed.

Parameters:
proxyDevice -

onNewGroup

void onNewGroup(UDProxyDevice device,
                UDGroup newGroup)
Notifies the client of the addition of a new group/scene to the system.

Parameters:
device - - the UDProxyDevice originating this event
newGroup - - the new UDGroup which was added

onGroupRenamed

void onGroupRenamed(UDProxyDevice device,
                    UDGroup group)
Notifies the client of the change in name of a group in the system.

Parameters:
device - - the UDProxyDevice originating this event
group - - the UDGroup which was renamed. The UDGroup will have the new name.

onGroupRemoved

void onGroupRemoved(UDProxyDevice device,
                    java.lang.String groupAddress)
Notifies the client of the removal of a group from the system.

Parameters:
device - - the UDProxyDevice originating this event
groupAddress - - the address of the group which has been removed

onNodeRemovedFromGroup

void onNodeRemovedFromGroup(UDProxyDevice device,
                            UDNode node,
                            UDGroup group)
Notifies the client of the removal of a node from a group in the system.

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode which is removed from the group
group - - the UDGroup from which the node was removed

onNodeMoved

void onNodeMoved(UDProxyDevice device,
                 UDNode node,
                 UDGroup group,
                 char role)
Notifies the client that a node was moved into a group/scene

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode which was moved
group - - the UDGroup which the node was moved to
role - - the role which the node plays in the group; currently this value is restricted to Constants.NODE_IS_MASTER i.e. this node is either a master/controller of this group or a slave/responder

onNewFolder

void onNewFolder(UDProxyDevice device,
                 UDFolder newFolder)
Notifies the client of the addition of a new folder to the system.

Parameters:
device - - the UDProxyDevice originating this event
newFolder - - the new UDFolder which was added

onFolderRenamed

void onFolderRenamed(UDProxyDevice device,
                     UDFolder folder)
Notifies the client of the change in name of a folder in the system.

Parameters:
device - - the UDProxyDevice originating this event
folder - - the UDFolder which was renamed. The UDFolder will have the new name.

onFolderRemoved

void onFolderRemoved(UDProxyDevice device,
                     java.lang.String folderAddress)
Notifies the client of the removal of a folder from the system.

Parameters:
device - - the UDProxyDevice originating this event
folderAddress - - the address of the group which has been removed

onNodeToGroupRoleChanged

void onNodeToGroupRoleChanged(UDProxyDevice device,
                              UDNode node,
                              UDGroup group,
                              char new_role)
Notifies the client that the node's role for a group changed

Parameters:
device - - the UDProxyDevice originating this event
node - - the UDNode whose role changed
group - - the UDGroup whose role to the node changed
new_role - - the new role which the node plays in the group; currently this value is restricted to Constants.NODE_IS_MASTER i.e. this node is either a master/controller of this group or a slave/responder

onSystemStatus

void onSystemStatus(UDProxyDevice device,
                    java.lang.String event)
Notifies the client whether or not the system is busy

Parameters:
device - - the UDProxyDevice originating this event
event - - can be any of
UD_SYSTEM_IS_NOT_BUSY_ACTION
UD_SYSTEM_IS_BUSY_ACTION
UD_SYSTEM_IS_IDLE_ACTION

onSystemConfigChanged

void onSystemConfigChanged(UDProxyDevice device,
                           java.lang.String event,
                           XMLElement eventInfo)
Notifies the client that system configurations have changed

Parameters:
device - - the UDProxyDevice originating this event
event - - can be any of
UD_TIME_CHANGED_ACTION
UD_TIME_CONFIG_CHANGED_ACTION
UD_NTP_SETTINGS_UPDATED_ACTION
UD_NOTIFICATION_SETTINGS_UPDATED_ACTION
UD_NTP_COMM_FAILED_ACTION
eventInfo - - any additional information sent by ISY

onNodePowerInfoChanged

void onNodePowerInfoChanged(UDProxyDevice device,
                            UDNode node)
Notifies the clients that the node's power utilization information has changed

Parameters:
node - - the node
device - - UDProxyDevice