tibrvEventCallback
Function Type
Declaration
typedef void (*tibrvEventCallback
) (
tibrvEvent event,
tibrvMsg message,
void* closure);
Purpose
Programs define functions of this type to process events.
Remarks
A single callback function type spans listener, timer and I/O events.
Parameter |
Description |
|
This parameter receives the event object. This object is identical to the object that the program created to express event interest. |
|
When the event object is a listener, the callback receives the inbound message in this parameter. If the inbound message is empty, this parameter receives a message that has no fields. When the event object is a timer or I/O event, this parameter receives |
|
This parameter receives the closure data, which the program supplied in the call that created the event object. |