HP Visualize J282 HP-UX DMI 2.0 Developer's Guide: HP-UX/HP 9000 Computers, H - Page 42
Service Provider Functions for Components
View all HP Visualize J282 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 42 highlights
Component Interface Functions Service Provider Functions for Components Service Provider Functions for Components Using the following Service Provider Functions for Components, component instrumentation code can register with the SP to override its current access mechanism for the registered attributes. Instead of manipulating the data in the MIF database or invoking programs, the SP calls the entry points provided in the registration call. Once the component unregisters, the SP returns to its normal method of processing requests for the data as defined in the SP's MIF. In this manner, component instrumentation temporarily interrupts normal processing to perform special functions. • "DmiMainLoop()" on page 42 • "DmiOriginateEvent()" on page 42 • "DmiRegisterCi()" on page 43 • "DmiUnregisterCi()" on page 43 DmiMainLoop() Waits on the socket communication thread for component instrumentation or the Indication Server thread for management applications. int DmiMainLoop() DmiOriginateEvent() Originates an event for filtering and delivery. This function performs any necessary indication filtering (or subsequent processing) prior to forwarding the event to the registered management applications. DmiErrorStatus_t DMI_API DmiOriginateEvent( /* [in] */ DmiId_t componentId, /* [in] */ DmiString_t * language, /* [in] */ DmiTimestamp_t * timestamp, /* [in] */ DmiRowData_t * rowData); 42 Chapter 6