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


Chapter 4 Consumer : tibemsMsgConsumer : tibemsMsgConsumer_SetMsgListener

tibemsMsgConsumer_SetMsgListener
Function
Purpose
Set the message callback and closure data of a consumer.
C Declaration
tibems_status tibemsMsgConsumer_SetMsgListener(
    tibemsMsgConsumer msgConsumer,
    tibemsMsgCallback callback,
    void* closure );
Parameters
 
Remarks
EMS C programs can implement a message listener as a callback function paired with closure data. This call sets these items in a consumer object.
Your program implements the callback, and registers it by calling this function. When a message arrives, the consumer calls the callback.
This call is not supported in COBOL.
See Also
tibemsMsgCallback on page 174

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