tibemsMsgConsumer_GetMsgListener


Function

Purpose

Get the message callback and closure data from a consumer.

C Declaration

tibems_status tibemsMsgConsumer_GetMsgListener( 
    tibemsMsgConsumer msgConsumer, 
    tibemsMsgCallback* callbackPtr, 
    void** closure ); 

Parameters

Parameter
Description
msgConsumer
Get the listener from this consumer.
callbackPtr
The function stores a pointer to the callback in this location.
closure
The function stores a pointer to the closure data in this location.

Remarks

EMS C programs can implement a message listener as a callback function paired with closure data. This call extracts these items from a consumer object.

Your program implements the callback, and registers it by calling tibemsMsgConsumer_SetMsgListener. When a message arrives, the consumer calls the callback.
This call is not supported in COBOL.

See Also

tibemsMsgConsumer_SetMsgListener

tibemsMsgCallback


TIBCO Enterprise Message Service™ C and COBOL Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com