com.cisco.provisioning.cpe.events
Interface ProvAPIEventListener

All Known Subinterfaces:
BatchListener, COSListener, CRSCompleteListener, DeviceListener, DeviceTypeListener, DHCPCriteriaListener, FileListener, MessagingListener, NodeListener, NodeTypeListener, ProvGroupListener, SystemConfigListener
All Known Implementing Classes:
BatchAdapter, COSAdapter, CRSCompleteAdapter, DeviceAdapter, DeviceTypeAdapter, DHCPCriteriaAdapter, FileAdapter, MessagingAdapter, NodeAdapter, NodeTypeAdapter, ProvGroupAdapter, SystemConfigAdapter

public interface ProvAPIEventListener

All Event Listeners inherit from this interface, which tags the Listener as being associated with the Event subsystem. The oneShot methods allow the client to specify that (or determine if) the registration request is for just one (the next) occurrence of the Event. Default value for oneShot mode is false.


Method Summary
 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.
 

Method Detail

getOneShot

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

Returns:
true if oneShot mode has been set.

setOneShot

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

Parameters:
flg - true if oneShot mode is being set.