From: David H. <hel...@us...> - 2014-03-05 18:24:06
|
I think the easiest way to get started is to use the SFCB TestIndicationProvider as a template. Build SFCB with test providers enabled (configure --enable-tests=providers, or simply: configure --enable-tests, to build all tests). Run make, make install and then make postinstall (last step ensures the test provider is registered with SFCB. Next, look at the sample XML files here. 1-3 create the necessary instances to support the subscription. 4 is a method call that triggers a test indication. 5-7 delete the instances pertaining to the subscription. The IndicationSubscription must be deleted first. $ ls test/TestProviders/tests/IndTest*.xml IndTest1CreateFilter.xml IndTest2CreateHandler.xml IndTest3CreateSubscription.xml IndTest4CallMethod.xml IndTest5DeleteSubscription.xml IndTest6DeleteHandler.xml IndTest7DeleteFilter.xml The CreateHandler XML specifies a file URL as the handler destination. tail this file to see subscriptions coming in. If you have a CIM indication handler online you can edit the file to point to your handler URL. David E. Heller IBM Linux Technology Center hel...@us... George varghese <geo...@gm...> 03/05/2014 10:01 AM To David Heller/Allentown/IBM@IBMUS, cc Subject Re: [Sblim-devel] Implementing notification feature in provider yes. I want to know how to write an indication provider. I just go through the sblim-cmpi base provider. I saw code related to indication in operatingsystem file. if you reply about indication, its very helpful for me. Regards, George On Wed, Mar 5, 2014 at 8:05 PM, David Heller <hel...@us...> wrote: You want to know how to write an indication provider, is what you are asking? David E. Heller IBM Linux Technology Center hel...@us... George varghese <geo...@gm...> 03/05/2014 12:57 AM To sbl...@li..., Klaus Kaempf <kk...@su...>, cc Subject [Sblim-devel] Implementing notification feature in provider Hi, I had using sblim development tool packages for c file creation. In provider, I want to implement notification feature in provider. Please let me know , how to create indication instance methods for implementing it.. Regards, George ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Sblim-devel mailing list Sbl...@li... https://lists.sourceforge.net/lists/listinfo/sblim-devel |