com.cisco.provisioning.cpe.events
Class CRSCompleteAdapter

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

public abstract class CRSCompleteAdapter
extends Object
implements CRSCompleteListener

An abstract class that provides no-op definitions of all methods in the CRSCompleteListener interface. Users must extend this class, and then implement the methods for the desired CRSCompleteEvent sub-event notifications.


Field Summary
 
Fields inherited from interface com.cisco.provisioning.cpe.events.CRSCompleteListener
CRS_COMPLETED
 
Constructor Summary
CRSCompleteAdapter()
           
 
Method Summary
 void crsCompleted(CRSCompleteEvent event)
          The method invoked when a CRSCompleteEvent arrives as a result of a CRS change request being completed.
 boolean getOneShot()
          Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event.
 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

CRSCompleteAdapter

public CRSCompleteAdapter()
Method Detail

crsCompleted

public void crsCompleted(CRSCompleteEvent event)
The method invoked when a CRSCompleteEvent arrives as a result of a CRS change request being completed.

Specified by:
crsCompleted in interface CRSCompleteListener
Parameters:
event - The object containing the CRSCompleteEvent 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