|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DeviceTypeListener
The Listener interface for DeviceTypeEvent. The
addDeviceTypeListener
method on the PACEConnection instance may be used to
register DeviceTypeListener instances.
Sample Usage:
// Implement DeviceTypeListener interface
public class MyDeviceTypeListener implements DeviceTypeListener
{
...
}
// Create an instance of DeviceTypeEventQualifier
// [You may also use an instance of QualifyAll
// that performs no filtering.]
myQualifier = new DeviceTypeEventQualifier();
// We are interested in new device types being added
myQualifier.setNewDeviceType();
// Register device type listener using PACEConnection
...
conn.addDeviceTypeListener(
new MyDeviceTypeListener(), // DeviceTypeListener
myQualifier // Qualifier
);
...
| Field Summary | |
|---|---|
static int |
DELETED_DEVICE_TYPE
Event ID that indicates the DELETED_DEVICE_TYPE sub-event type of the DeviceTypeEvent. |
static int |
DEVICE_TYPE_PROPS_CHANGE
Event ID that indicates the DEVICE_TYPE_PROPS_CHANGE sub-event type of the DeviceTypeEvent. |
static int |
NEW_DEVICE_TYPE
Event ID that indicates the NEW_DEVICE_TYPE sub-event type of the DeviceTypeEvent. |
| 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 being changed. |
void |
newDeviceType(DeviceTypeEvent ev)
The method invoked when a DeviceTypeEvent
arrives as a result of a DeviceType
having been added. |
| Methods inherited from interface com.cisco.provisioning.cpe.events.ProvAPIEventListener |
|---|
getOneShot, setOneShot |
| Field Detail |
|---|
static final int NEW_DEVICE_TYPE
DeviceTypeEvent. This indicates that a new,
device type has been added to BPR.
static final int DELETED_DEVICE_TYPE
DeviceTypeEvent. This indicates that a custom
cpe type has been deleted from BPR.
static final int DEVICE_TYPE_PROPS_CHANGE
DeviceTypeEvent. This indicates that a
custom cpe type property(ies) have been changed in BPR.
| Method Detail |
|---|
void newDeviceType(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType
having been added.
ev - The object containing the
DeviceTypeEvent data.void deletedDeviceType(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType
having been deleted.
ev - The object containing the
DeviceTypeEvent data.void deviceTypePropsChanged(DeviceTypeEvent ev)
DeviceTypeEvent
arrives as a result of a DeviceType
Property being changed.
ev - The object containing the
DeviceTypeEvent data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||