|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeListener
The Listener interface for Node events.
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 |
|---|
static final int NEW_NODE
NodeEvent.
This indicates that a new Node has been added to the database.
newNode(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int DELETED_NODE
NodeEvent.
This indicates that a Node has been deleted from database.
deletedNode(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int CHANGED_NODE
NodeEvent.
This indicates that the properties of a Node has been changed in the
database.
changedNode(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int RELATE_TO_NODE
NodeEvent.
This indicates that the node is associated to another node.
relateToNode(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int RELATE_TO_IPDEVICE
NodeEvent.
This indicates that the node is associated to an IPDevice.
relateToIPDevice(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int UNRELATE_FROM_NODE
NodeEvent.
This indicates that the node's association with another node is removed.
unrelateFromNode(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Valuesstatic final int UNRELATE_FROM_IPDEVICE
NodeEvent.
This indicates that the node's association with an IPDevice removed.
unrelateFromIPDevice(com.cisco.provisioning.cpe.events.NodeEvent),
Constant Field Values| Method Detail |
|---|
void newNode(NodeEvent ev)
NodeEvent arrives as a
result of a node has been added.
ev - the NodeEvent object containing
the event data.void deletedNode(NodeEvent ev)
NodeEvent arrives as a
result of a node having been deleted.
ev - the NodeEvent object containing the
event data.void changedNode(NodeEvent ev)
NodeEvent arrives as a
result of a node's properties having been updated.
ev - the NodeEvent object containing the
event data.void relateToNode(NodeEvent ev)
NodeEvent arrives as a
result of a node being related to another node.
ev - the NodeEvent object containing the
event data.void relateToIPDevice(NodeEvent ev)
NodeEvent arrives as a
result of a node being related to an IP device.
ev - the NodeEvent object containing the
event data.void unrelateFromNode(NodeEvent ev)
NodeEvent arrives as a
result of a node's association with another node is being removed.
ev - the NodeEvent object containing the
event data.void unrelateFromIPDevice(NodeEvent ev)
NodeEvent arrives as a
result of the node's association with an IP device is removed.
ev - the NodeEvent object containing the
event data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||