org.sblim.cimclient.discovery

Interface AdvertisementCatalog.EventListener

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.
Method Summary
voidadvertisementEvent(int pEvent, WBEMServiceAdvertisement pAdvertisment)
Called when an advertisement is added to the catalog that has not been a member of the catalog before.

Method Detail

advertisementEvent

public 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 advertisement

Copyright © 2005, 2010 IBM Corporation. All Rights Reserved.