|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ProvAPIEventManager
This interface outlines the methods for managing events. Each class of
events has three methods associated with it. These methods are
addXXXXListener(XXXXListener, Qualifier), fireXXXX(XXXXEvent),
removeXXXXListener(XXXXListener, Qualifier). The event name is
substituted for XXXX.
To receive notification of an event occurring, first register
for the event using addXXXXListener(...). You will be
notified of the XXXX event occurring if the call to
Qualifier.qualifies returns true.
Only one given pairing of a XXXXListener and a Qualifier
can exist. You can register a XXXXListener with different Qualifier's.
ProvAPIEvent,
ProvAPIEventListener,
Qualifier| Method Summary | |
|---|---|
void |
addBatchListener(BatchListener listener,
Qualifier qualifier)
Adds BatchListener to receive BatchEvent that
satisfy the given Qualifier. |
void |
addCOSListener(COSListener listener,
Qualifier qualifier)
Adds COSListener to receive
COSEvents that satisfy the given
Qualifier. |
void |
addCRSCompleteListener(CRSCompleteListener listener,
Qualifier qualifier)
Adds CRSCompleteListener to receive
CRSCompleteEvents that satisfy the given
Qualifier. |
void |
addDeviceListener(DeviceListener listener,
Qualifier qualifier)
Adds DeviceListener to receive
DeviceEvents that satisfy the given
Qualifier. |
void |
addDeviceTypeListener(DeviceTypeListener listener,
Qualifier qualifier)
Adds DeviceTypeListener to receive
DeviceTypeEvents that satisfy the given
Qualifier. |
void |
addDHCPCriteriaListener(DHCPCriteriaListener listener,
Qualifier qualifier)
Adds DHCPCriteriaListener to receive
DHCPCriteriaEvents that satisfy the given
Qualifier. |
void |
addFileListener(FileListener listener,
Qualifier qualifier)
Adds FileListener to receive
FileEvents that satisfy the given
Qualifier. |
void |
addMessagingListener(MessagingListener listener,
Qualifier qualifier)
Adds MessagingListener to receive
MessagingEvents that satisfy the given
Qualifier. |
void |
addProvGroupListener(ProvGroupListener listener,
Qualifier qualifier)
Adds ProvGroupListener to receive
ProvGroupEvents that satisfy the given
Qualifier. |
void |
addSystemConfigListener(SystemConfigListener listener,
Qualifier qualifier)
Adds SystemConfigListener to receive
SystemConfigEvents that satisfy the given
Qualifier. |
void |
fireBatchEvent(BatchEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireCOSEvent(COSEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireCRSCompleteEvent(CRSCompleteEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireDeviceEvent(DeviceEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireDeviceTypeEvent(DeviceTypeEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireDHCPCriteriaEvent(DHCPCriteriaEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireMessagingEvent(MessagingEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireNodeEvent(NodeEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireNodeTypeEvent(NodeTypeEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireProvGroupEvent(ProvGroupEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
fireSystemConfigEvent(SystemConfigEvent event)
This method will notify all registered listeners that the given event has occurred. |
void |
removeBatchListener(BatchListener listener,
Qualifier qualifier)
Stops the given BatchListener from receiving
event notifications of events that satisfy the given qualifier. |
void |
removeCOSListener(COSListener listener,
Qualifier qualifier)
Stops the given COSListener from receiving event
notifications of events that satisfy the given qualifier. |
void |
removeCRSCompleteListener(CRSCompleteListener listener,
Qualifier qualifier)
Stops the given CRSCompleteListener from
receiving event notifications of events that satisfy the given
qualifier. |
void |
removeDeviceListener(DeviceListener listener,
Qualifier qualifier)
Stops the given DeviceListener from receiving
event notifications of events that satisfy the given qualifier. |
void |
removeDeviceTypeListener(DeviceTypeListener listener,
Qualifier qualifier)
Stops the given DeviceTypeListener
from receiving event notifications of events that satisfy the given
qualifier. |
void |
removeDHCPCriteriaListener(DHCPCriteriaListener listener,
Qualifier qualifier)
Stops the given DHCPCriteriaListener
from receiving event notifications of events that satisfy the given
qualifier. |
void |
removeFileListener(FileListener listener,
Qualifier qualifier)
Stops the given FileListener
from receiving event notifications of events that satisfy the given
qualifier. |
void |
removeMessagingListener(MessagingListener listener,
Qualifier qualifier)
Stops the given MessagingListener
from receiving event notifications of events that satisfy the
given qualifier. |
void |
removeNodeListener(NodeListener listener,
Qualifier qualifier)
Stops the given NodeListener from receiving event notifications of events that satisfy the given qualifier. |
void |
removeNodeTypeListener(NodeTypeListener listener,
Qualifier qualifier)
Stops the given NodeTypeListener from receiving event notifications of events that satisfy the given qualifier. |
void |
removeProvGroupListener(ProvGroupListener listener,
Qualifier qualifier)
Stops the given ProvGroupListener from
receiving event notifications of events that satisfy the given
qualifier. |
void |
removeSystemConfigListener(SystemConfigListener listener,
Qualifier qualifier)
Stops the given SystemConfigListener
from receiving event notifications of events that satisfy the
given qualifier. |
| Method Detail |
|---|
void addBatchListener(BatchListener listener,
Qualifier qualifier)
BatchEvent that
satisfy the given Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if listener registration fails.void fireBatchEvent(BatchEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeBatchListener(BatchListener listener,
Qualifier qualifier)
BatchListener from receiving
event notifications of events that satisfy the given qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addDeviceListener(DeviceListener listener,
Qualifier qualifier)
DeviceListener to receive
DeviceEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireDeviceEvent(DeviceEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeDeviceListener(DeviceListener listener,
Qualifier qualifier)
DeviceListener from receiving
event notifications of events that satisfy the given qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addDHCPCriteriaListener(DHCPCriteriaListener listener,
Qualifier qualifier)
DHCPCriteriaListener to receive
DHCPCriteriaEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireDHCPCriteriaEvent(DHCPCriteriaEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeDHCPCriteriaListener(DHCPCriteriaListener listener,
Qualifier qualifier)
DHCPCriteriaListener
from receiving event notifications of events that satisfy the given
qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addMessagingListener(MessagingListener listener,
Qualifier qualifier)
MessagingListener to receive
MessagingEvents that satisfy the given
Qualifier. This event will be a local event only.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireMessagingEvent(MessagingEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeMessagingListener(MessagingListener listener,
Qualifier qualifier)
MessagingListener
from receiving event notifications of events that satisfy the
given qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addProvGroupListener(ProvGroupListener listener,
Qualifier qualifier)
ProvGroupListener to receive
ProvGroupEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireProvGroupEvent(ProvGroupEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeProvGroupListener(ProvGroupListener listener,
Qualifier qualifier)
ProvGroupListener from
receiving event notifications of events that satisfy the given
qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addSystemConfigListener(SystemConfigListener listener,
Qualifier qualifier)
SystemConfigListener to receive
SystemConfigEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireSystemConfigEvent(SystemConfigEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeSystemConfigListener(SystemConfigListener listener,
Qualifier qualifier)
SystemConfigListener
from receiving event notifications of events that satisfy the
given qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addCOSListener(COSListener listener,
Qualifier qualifier)
COSListener to receive
COSEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireCOSEvent(COSEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeCOSListener(COSListener listener,
Qualifier qualifier)
COSListener from receiving event
notifications of events that satisfy the given qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addCRSCompleteListener(CRSCompleteListener listener,
Qualifier qualifier)
CRSCompleteListener to receive
CRSCompleteEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireCRSCompleteEvent(CRSCompleteEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeCRSCompleteListener(CRSCompleteListener listener,
Qualifier qualifier)
CRSCompleteListener from
receiving event notifications of events that satisfy the given
qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addDeviceTypeListener(DeviceTypeListener listener,
Qualifier qualifier)
DeviceTypeListener to receive
DeviceTypeEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.void fireDeviceTypeEvent(DeviceTypeEvent event)
Qualifier.qualifies.
NOTE - Please do not use this method. They are for intended for internal use only.
event - the object representing the event that has occurred.
void removeDeviceTypeListener(DeviceTypeListener listener,
Qualifier qualifier)
DeviceTypeListener
from receiving event notifications of events that satisfy the given
qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.void fireNodeTypeEvent(NodeTypeEvent event)
Qualifier.qualifies().
event - the object representing the event that has occurred.
void removeNodeTypeListener(NodeTypeListener listener,
Qualifier qualifier)
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.void fireNodeEvent(NodeEvent event)
Qualifier.qualifies().
event - the object representing the event that has occurred.
void removeNodeListener(NodeListener listener,
Qualifier qualifier)
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
void addFileListener(FileListener listener,
Qualifier qualifier)
FileListener to receive
FileEvents that satisfy the given
Qualifier.
listener - the listener to notify when the event has occured.
qualifier - the qualifier to use to determine which events
to be notified on.
RegistrationFailedException - if the listener registration fails.
void removeFileListener(FileListener listener,
Qualifier qualifier)
FileListener
from receiving event notifications of events that satisfy the given
qualifier.
listener - the listener to stop receiving the notifications.qualifier - the qualifier to use to determine which events
to be notified on.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||