|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DHCPCriteriaListener
The Listener interface for DHCPCriteriaEvent. The
addDHCPCriteriaListener
method on the PACEConnection instance may be
used to register DHCPCriteriaListener instances.
Sample Usage:
// Implement DHCPCriteriaListener interface
public class MyDHCPCriteriaListener implements
DHCPCriteriaListener
{
...
}
// Create an instance of DHCPCriteriaEventQualifier
// [You may also use an instance of QualifyAll
// that performs no filtering.]
myQualifier = new DHCPCriteriaEventQualifier();
// We care only about new DHCP Criteria
myQualifier.setNewDHCPCriteria();
// Register DHCP Criteria listener using PACEConnection
...
conn.addDHCPCriteriaListener(
new MyDHCPCriteriaListener(), // DHCPCriteriaListener
myQualifier // Qualifier
);
...
| Field Summary | |
|---|---|
static int |
CHANGED_DHCP_CRITERIA
Event ID that indicates the CHANGED_DHCP_CRITERIA sub-event type of the DHCPCriteriaEvent. |
static int |
DELETED_DHCP_CRITERIA
Event ID that indicates the DELETED_DHCP_CRITERIA sub-event type of the DHCPCriteriaEvent. |
static int |
NEW_DHCP_CRITERIA
Event ID that indicates the NEW_DHCP_CRITERIA sub-event type of the DHCPCriteriaEvent. |
| 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. |
void |
newDHCPCriteria(DHCPCriteriaEvent ev)
The method invoked when a DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been added. |
| Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener |
|---|
getOneShot, setOneShot |
| Field Detail |
|---|
static final int NEW_DHCP_CRITERIA
DHCPCriteriaEvent. This indicates that a
new, DHCPCriteria has been added to BPR.
static final int DELETED_DHCP_CRITERIA
DHCPCriteriaEvent. This indicates that a
DHCPCriteria has been deleted from BPR.
static final int CHANGED_DHCP_CRITERIA
DHCPCriteriaEvent. This indicates that some
attributes (client class, selection tags and/or properties) of the
DHCP Criteria has been changed.
| Method Detail |
|---|
void newDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been added.
ev - The object containing the
DHCPCriteriaEvent data.void deletedDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been deleted.
ev - The object containing the
DHCPCriteriaEvent data.void changedDHCPCriteria(DHCPCriteriaEvent ev)
DHCPCriteriaEvent
arrives as a result of a DHCPCriteria having been updated.
ev - The object containing the
DHCPCriteriaEvent data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||