com.cisco.provisioning.cpe.events
Interface NodeListener

All Superinterfaces:
ProvAPIEventListener
All Known Implementing Classes:
NodeAdapter

public interface NodeListener
extends ProvAPIEventListener

The Listener interface for Node events.

See Also:
ProvAPIEventListener

Field Summary
static int CHANGED_NODE
          Event ID that indicates the CHANGED_NODE sub-event type of the NodeEvent.
static int DELETED_NODE
          Event ID that indicates the DELETED_NODE sub-event type of the NodeEvent.
static int NEW_NODE
          Event ID that indicates the NEW_NODE sub-event type of the NodeEvent.
static int RELATE_TO_IPDEVICE
          Event ID that indicates the RELATE_TO_IPDEVICE sub-event type of the NodeEvent.
static int RELATE_TO_NODE
          Event ID that indicates the RELATE_TO_NODE sub-event type of the NodeEvent.
static int UNRELATE_FROM_IPDEVICE
          Event ID that indicates the RELATE_TO_IPDEVICE sub-event type of the NodeEvent.
static int UNRELATE_FROM_NODE
          Event ID that indicates the UNRELATE_FROM_NODE sub-event type of the NodeEvent.
 
Method Summary
 void changedNode(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node's properties having been updated.
 void deletedNode(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node having been deleted.
 void newNode(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node has been added.
 void relateToIPDevice(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node being related to an IP device.
 void relateToNode(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node being related to another node.
 void unrelateFromIPDevice(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of the node's association with an IP device is removed.
 void unrelateFromNode(NodeEvent ev)
          The method invoked when a NodeEvent arrives as a result of a node's association with another node is being removed.
 
Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener
getOneShot, setOneShot
 

Field Detail

NEW_NODE

static final int NEW_NODE
Event ID that indicates the NEW_NODE sub-event type of the NodeEvent. This indicates that a new Node has been added to the database.

See Also:
newNode(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

DELETED_NODE

static final int DELETED_NODE
Event ID that indicates the DELETED_NODE sub-event type of the NodeEvent. This indicates that a Node has been deleted from database.

See Also:
deletedNode(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

CHANGED_NODE

static final int CHANGED_NODE
Event ID that indicates the CHANGED_NODE sub-event type of the NodeEvent. This indicates that the properties of a Node has been changed in the database.

See Also:
changedNode(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

RELATE_TO_NODE

static final int RELATE_TO_NODE
Event ID that indicates the RELATE_TO_NODE sub-event type of the NodeEvent. This indicates that the node is associated to another node.

See Also:
relateToNode(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

RELATE_TO_IPDEVICE

static final int RELATE_TO_IPDEVICE
Event ID that indicates the RELATE_TO_IPDEVICE sub-event type of the NodeEvent. This indicates that the node is associated to an IPDevice.

See Also:
relateToIPDevice(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

UNRELATE_FROM_NODE

static final int UNRELATE_FROM_NODE
Event ID that indicates the UNRELATE_FROM_NODE sub-event type of the NodeEvent. This indicates that the node's association with another node is removed.

See Also:
unrelateFromNode(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values

UNRELATE_FROM_IPDEVICE

static final int UNRELATE_FROM_IPDEVICE
Event ID that indicates the RELATE_TO_IPDEVICE sub-event type of the NodeEvent. This indicates that the node's association with an IPDevice removed.

See Also:
unrelateFromIPDevice(com.cisco.provisioning.cpe.events.NodeEvent), Constant Field Values
Method Detail

newNode

void newNode(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node has been added.

Parameters:
ev - the NodeEvent object containing the event data.

deletedNode

void deletedNode(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node having been deleted.

Parameters:
ev - the NodeEvent object containing the event data.

changedNode

void changedNode(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node's properties having been updated.

Parameters:
ev - the NodeEvent object containing the event data.

relateToNode

void relateToNode(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node being related to another node.

Parameters:
ev - the NodeEvent object containing the event data.

relateToIPDevice

void relateToIPDevice(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node being related to an IP device.

Parameters:
ev - the NodeEvent object containing the event data.

unrelateFromNode

void unrelateFromNode(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of a node's association with another node is being removed.

Parameters:
ev - the NodeEvent object containing the event data.

unrelateFromIPDevice

void unrelateFromIPDevice(NodeEvent ev)
The method invoked when a NodeEvent arrives as a result of the node's association with an IP device is removed.

Parameters:
ev - the NodeEvent object containing the event data.