Waiting For MIB Events

 

IDA_EventDataWaitallows a caller to wait for data from a MIB-based event queue. This function doesn’t usually poll the agent looking for data. Instead, it waits for the agent to tell it that data is available. This function can only be used with certain MIB variables. In particular, it can be used with IDAV_MonEventAltData.One of the parameters to IDA_EventDataWaitis a timeout value. If the wait reaches the timeout value with no returned data, it returns with a specific return value.

Under the covers, IDA_EventDataWaitbuilds a special version of a GET_BULK request containing a single repeating variable, no instance information and a large <max-repetitions> value. This request is sent to the agent if the agent didn’t last return a “no data available” response. It then waits on data from the agent for the specified timeout period. If data becomes available before the timeout, the application-defined SessionRequestCallBackProccallback function is called for each returned variable instance.

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)