|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.DHCPCriteriaAdapter
public abstract class DHCPCriteriaAdapter
An abstract class that provides no-op definitions of all methods
in the DHCPCriteriaListener interface.
Users must extend this class, and then implement the methods
for the desired DHCPCriteriaEvent
sub-event notifications.
| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.DHCPCriteriaListener |
|---|
CHANGED_DHCP_CRITERIA, DELETED_DHCP_CRITERIA, NEW_DHCP_CRITERIA |
| Constructor Summary | |
|---|---|
DHCPCriteriaAdapter()
|
|
| Method Summary | |
|---|---|
void |
changedDHCPCriteria(DHCPCriteriaEvent ev)
The method invoked when a DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been updated. |
void |
deletedDHCPCriteria(DHCPCriteriaEvent ev)
The method invoked when a DHCPCriteriaEvent
arrives as a result of a DHCPCriteria 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 |
newDHCPCriteria(DHCPCriteriaEvent ev)
The method invoked when a DHCPCriteriaEvent
arrives as a result of a DHCPCriteria 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 DHCPCriteriaAdapter()
| Method Detail |
|---|
public void newDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria has been added.
newDHCPCriteria in interface DHCPCriteriaListenerev - The object containing the
DHCPCriteriaEvent data.public void deletedDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been deleted.
deletedDHCPCriteria in interface DHCPCriteriaListenerev - The object containing the
DHCPCriteriaEvent data.public void changedDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been updated.
changedDHCPCriteria in interface DHCPCriteriaListenerev - The object containing the
DHCPCriteriaEvent 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 | ||||||||