A client application can subscribe to be notified of CIM events. A subscription is a declaration of interest in one or more streams of indications. Currently, providers cannot subscribe for event indications.
An application that subscribes for indications of CIM events provides the following information:
The indications to which the application wants to subscribe
The handler to which the CIMOM delivers the indication
An application can create one or more event filters with one or more event handlers. Event indications are not delivered until the application creates the event subscription.
Create an instance of CIM_Listener. See Adding a CIM Listener.
Create an instance of CIM_IndicationFilter. See Creating an Event Filter.
Create an instance of CIM_IndicationHandler. See Creating an Event Handler.
Bind the CIM_IndicationFilter to the CIM_IndicationHandler. See Binding an Event Filter to an Event Handler.