|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.DeviceTypeAdapter
public abstract class DeviceTypeAdapter
An abstract class that provides no-op definitions of all methods
in the DeviceTypeListener interface.
Users must extend this class, and then implement the methods
for the desired DeviceTypeEvent
sub-event notifications.
| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.DeviceTypeListener |
|---|
DELETED_DEVICE_TYPE, DEVICE_TYPE_PROPS_CHANGE, NEW_DEVICE_TYPE |
| Constructor Summary | |
|---|---|
DeviceTypeAdapter()
|
|
| Method Summary | |
|---|---|
void |
deletedDeviceType(DeviceTypeEvent ev)
The method invoked when a DeviceTypeEvent
arrives as a result of a DeviceType having been deleted. |
void |
deviceTypePropsChanged(DeviceTypeEvent ev)
The method invoked when a DeviceTypeEvent
arrives as a result of a DeviceType Property changed. |
boolean |
getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event. |
void |
newDeviceType(DeviceTypeEvent ev)
The method invoked when a DeviceTypeEvent
arrives as a result of a DeviceType 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 |
|---|
public DeviceTypeAdapter()
| Method Detail |
|---|
public void newDeviceType(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType has been added.
newDeviceType in interface DeviceTypeListenerev - The object containing the
DeviceTypeEvent data.public void deletedDeviceType(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType having been deleted.
deletedDeviceType in interface DeviceTypeListenerev - The object containing the
DeviceTypeEvent data.public void deviceTypePropsChanged(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType Property changed.
deviceTypePropsChanged in interface DeviceTypeListenerev - The object containing the
DeviceTypeEvent 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 | ||||||||