|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.DeviceAdapter
public abstract class DeviceAdapter
An abstract class that provides no-op definitions of all methods
in the DeviceListener interface.
Users must extend this class, and then implement the methods
for the desired DeviceEvent sub-event notifications.
| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.DeviceListener |
|---|
CHANGED_COS, CHANGED_DHCP_CRITERIA, DELETED_DEVICE, DELETED_DEVICE_ID, DELETED_VOICE_SERVICE, NEW_PROV_DEVICE, NEW_UNPROV_DEVICE, NEW_VOICE_SERVICE, RECEIVED_STATUS, ROAMING_DEVICE |
| Constructor Summary | |
|---|---|
DeviceAdapter()
|
|
| Method Summary | |
|---|---|
void |
changedCoS(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a new device receiving a new class of service. |
void |
changedDHCPCriteria(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a new device receiving a new DHCP Criteria. |
void |
deletedDevice(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a device having been deleted. |
void |
deletedDeviceId(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a device identifier having been deleted. |
void |
deletedVoiceService(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a voice service having been deleted from a device. |
boolean |
getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event. |
void |
newProvDevice(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a new device being registered. |
void |
newUnprovDevice(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a new, unregistered device being detected. |
void |
newVoiceService(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a new voice service being added to a device. |
void |
receivedStatus(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a device sending its provisioning status to BPR. |
void |
roaming(DeviceEvent ev)
The method invoked when a DeviceEvent arrives as a
result of a device being relocated. |
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 DeviceAdapter()
| Method Detail |
|---|
public void newUnprovDevice(DeviceEvent ev)
DeviceEvent arrives as a
result of a new, unregistered device being detected.
newUnprovDevice in interface DeviceListenerev - The object containing the
DeviceEvent data.public void newProvDevice(DeviceEvent ev)
DeviceEvent arrives as a
result of a new device being registered.
newProvDevice in interface DeviceListenerev - The object containing the
DeviceEvent data.public void roaming(DeviceEvent ev)
DeviceEvent arrives as a
result of a device being relocated.
roaming in interface DeviceListenerev - The object containing the
DeviceEvent data.public void changedCoS(DeviceEvent ev)
DeviceEvent arrives as a
result of a new device receiving a new class of service.
changedCoS in interface DeviceListenerev - The object containing the
DeviceEvent data.public void deletedDevice(DeviceEvent ev)
DeviceEvent arrives as a
result of a device having been deleted.
deletedDevice in interface DeviceListenerev - The object containing the
DeviceEvent data.public void newVoiceService(DeviceEvent ev)
DeviceEvent arrives as a
result of a new voice service being added to a device.
newVoiceService in interface DeviceListenerev - The object containing the
DeviceEvent data.public void deletedVoiceService(DeviceEvent ev)
DeviceEvent arrives as a
result of a voice service having been deleted from a device.
deletedVoiceService in interface DeviceListenerev - The object containing the
DeviceEvent data.public void receivedStatus(DeviceEvent ev)
DeviceEvent arrives as a
result of a device sending its provisioning status to BPR.
Currently only Packetcable MTA's indicate their status.
receivedStatus in interface DeviceListenerev - The object containing the
DeviceEvent data.public boolean getOneShot()
getOneShot in interface ProvAPIEventListenerpublic void setOneShot(boolean flg)
setOneShot in interface ProvAPIEventListenerflg - true if oneShot mode is being set.public void changedDHCPCriteria(DeviceEvent ev)
DeviceEvent arrives as a
result of a new device receiving a new DHCP Criteria.
changedDHCPCriteria in interface DeviceListenerev - The object containing the
DeviceEvent data..public void deletedDeviceId(DeviceEvent ev)
DeviceEvent arrives as a
result of a device identifier having been deleted.
deletedDeviceId in interface DeviceListenerev - The object containing the
DeviceEvent data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||