tibrvMsg_GetClosure()
Function
Declaration
tibrv_statustibrvMsg_GetClosure(
tibrvMsg message,
void** closure);
Purpose
Extract the closure object corresponding to a (dispatched) message object.
|
Parameter |
Description |
|
|
Extract the closure corresponding to this message object. |
|
|
The program supplies a location. The function stores the closure object in that location. |
Remarks
Dispatch associates the message with a listener event. This call gets the closure from that listener event.
This call is valid only for an inbound message that has already been dispatched to a listener event. Error status TIBRV_INVALID_MSG indicates that the message is not associated with a listener event.