Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_GetMsgListener

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
 
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 on page 173
tibemsMsgCallback on page 174

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved