HP Visualize J282 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, H - Page 110
Procedural Entry Points
View all HP Visualize J282 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
Events and Indications Monitoring Events Table 10-2 SP Filter Information Table Content Group Class String Event Severity The group class string of the monitored group ("||" for all, "DMTF||" for all DMTF defined groups etc...) The severity level being monitored Procedural Entry Points A management application passes the following data structure: typedef struct DmiIndicationFuncs { DmiDeliverEventFunc DeliverEventFunc; DmiComponentAddedFunc componentAddedFunc; DmiComponentDeletedFunc componentDeletedFunc; DmiLanguageAddedFunc languageAddedFunc; DmiLanguageDeletedFunc languageDeletedFunc; DmiGroupAddedFunc groupAddedFunc; DmiGroupDeletedFunc groupDeletedFunc; DmiSubscriptionNoticeFunc subscriptionNoticeFunc; } DmiIndicationFuncs_t; Each function pointer represents a callback to handle indications for the management application. To receive the event, the management application assigns the corresponding pointer to a valid procedure. If the management application does not want the event, it assigns the corresponding pointer to NULL. Once the structure is filled out as desired, call DmiSetIndicationCallbacks() with the new DmiIndicationFuncs_t structure and with a pointer to a structure that will receive the old DmiIndicationFuncs_t data structure, or NULL if the old callbacks are not needed. 110 Chapter 10