org.sblim.cimclient.discovery
Interface AdvertisementCatalog.EventListener
- Enclosing class:
- AdvertisementCatalog
public static interface AdvertisementCatalog.EventListener
Interface EventListener specifies listener that are called when an
advertisement is added to or removed from the catalog, expires or is
renewed.
advertisementEvent
void advertisementEvent(int pEvent,
WBEMServiceAdvertisement pAdvertisment)
- Called when an advertisement is added to the catalog that has not
been a member of the catalog before.
- Parameters:
pEvent
- The type of the event. One of the constants
EVENT_ADD, EVENT_REMOVE, EVENT_EXPIRE, EVENT_RENEW
in AdvertisementCatalog
.pAdvertisment
- The added advertisment
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.