com.cisco.provisioning.cpe.events
Class NodeTypeAdapter

java.lang.Object
  extended by com.cisco.provisioning.cpe.events.NodeTypeAdapter
All Implemented Interfaces:
NodeTypeListener, ProvAPIEventListener

public abstract class NodeTypeAdapter
extends Object
implements NodeTypeListener

Adapter class that implements NodeTypeListener interface for NodeTypeEvent events.

See Also:
ProvAPIEventListener

Field Summary
 
Fields inherited from interface com.cisco.provisioning.cpe.events.NodeTypeListener
CHANGED_NODE_TYPE, DELETED_NODE_TYPE, NEW_NODE_TYPE
 
Constructor Summary
NodeTypeAdapter()
           
 
Method Summary
 void changedNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type's properties having been updated.
 void deletedNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type 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 newNodeType(NodeTypeEvent ev)
          The method invoked when a NodeTypeEvent arrives as a result of a node type has been added.
 void setOneShot(boolean flg)
          Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypeAdapter

public NodeTypeAdapter()
Method Detail

newNodeType

public void newNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type has been added.

Specified by:
newNodeType in interface NodeTypeListener
Parameters:
ev - the NodeTypeEvent object containing the event data.

deletedNodeType

public void deletedNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type having been deleted.

Specified by:
deletedNodeType in interface NodeTypeListener
Parameters:
ev - the NodeTypeEvent object containing the event data.

changedNodeType

public void changedNodeType(NodeTypeEvent ev)
The method invoked when a NodeTypeEvent arrives as a result of a node type's properties having been updated.

Specified by:
changedNodeType in interface NodeTypeListener
Parameters:
ev - the NodeTypeEvent object containing the event data.

getOneShot

public boolean getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event.

Specified by:
getOneShot in interface ProvAPIEventListener
Returns:
true if oneShot mode has been set

setOneShot

public void setOneShot(boolean flg)
Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event.

Specified by:
setOneShot in interface ProvAPIEventListener
Parameters:
flg - true if oneShot mode is being set