From: Chris B. <buc...@li...> - 2014-06-30 18:52:15
|
On 06/30/2014 02:43 AM, George varghese wrote: > I need clarity to below questions, > > 1.What kind of the CIM request comes into provider? for example, I > want to get an instance whenever modifying the *PowerEnabled* property > of class. can you please provider sample cim request for it? > > 2.How to know in which property is subscribed in provider? and which > indication API and which parameter is used for get it? > 1. CIM indications are sent from the server to the client, not from the client to the server as with the standard CIM operations (GetInstance, etc.). The indication is sent from the CIM server to a destination, typically another HTTP server. You need an indication provider that is "enabled" to send indications to a destination. You do this by creating 3 instances on the CIM server: a CIM_IndicationFilter, a CIM_ListenerDestination, and a CIM_IndicationSubscription. Providers implementing a class specified in the filter's query property will be enabled when the subscription is successfully created. Being enabled means the indication provider can send indications. If you want it to send indications based on an instance property changing, you need to subclass CIM_InstModification. 2. The query string of the IndicationFilter. For an example indication provider, see: https://github.com/buccella/SFCB/blob/master/test/TestProviders/cmpiTestIndicationProvider.c The following page has some relevant information on indications: http://docs.oracle.com/cd/E19095-01/sfe6900.srvr/816-1984-11/Indications.html -Chris |