|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.NodeAdapter
public abstract class NodeAdapter
Adapter class that implements NodeListener
interface for NodeEvent events.
ProvAPIEventListener| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.NodeListener |
|---|
CHANGED_NODE, DELETED_NODE, NEW_NODE, RELATE_TO_IPDEVICE, RELATE_TO_NODE, UNRELATE_FROM_IPDEVICE, UNRELATE_FROM_NODE |
| Constructor Summary | |
|---|---|
NodeAdapter()
|
|
| 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. |
boolean |
getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event. |
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 |
setOneShot(boolean flg)
Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event. |
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 class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeAdapter()
| Method Detail |
|---|
public void newNode(NodeEvent ev)
NodeEvent arrives as a
result of a node has been added.
newNode in interface NodeListenerev - the NodeEvent object containing
the event data.public void deletedNode(NodeEvent ev)
NodeEvent arrives as a
result of a node having been deleted.
deletedNode in interface NodeListenerev - the NodeEvent object containing the
event data.public void changedNode(NodeEvent ev)
NodeEvent arrives as a
result of a node's properties having been updated.
changedNode in interface NodeListenerev - the NodeEvent object containing the
event data.public void relateToNode(NodeEvent ev)
NodeEvent arrives as a
result of a node being related to another node.
relateToNode in interface NodeListenerev - the NodeEvent object containing the
event data.public void relateToIPDevice(NodeEvent ev)
NodeEvent arrives as a
result of a node being related to an IP device.
relateToIPDevice in interface NodeListenerev - the NodeEvent object containing the
event data.public void unrelateFromNode(NodeEvent ev)
NodeEvent arrives as a
result of a node's association with another node is being removed.
unrelateFromNode in interface NodeListenerev - the NodeEvent object containing the
event data.public void unrelateFromIPDevice(NodeEvent ev)
NodeEvent arrives as a
result of the node's association with an IP device is removed.
unrelateFromIPDevice in interface NodeListenerev - the NodeEvent object containing the
event data.public boolean getOneShot()
getOneShot in interface ProvAPIEventListenerpublic void setOneShot(boolean flg)
setOneShot in interface ProvAPIEventListenerflg - true if oneShot mode is being set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||