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.
- Since:
- 2.0.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
advertisementEvent
(int pEvent, WBEMServiceAdvertisement pAdvertisment) Called when an advertisement is added to the catalog that has not been a member of the catalog before.
-
Method Details
-
advertisementEvent
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 constantsEVENT_ADD, EVENT_REMOVE, EVENT_EXPIRE, EVENT_RENEW
inAdvertisementCatalog
.pAdvertisment
- The added advertisement
-