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


Chapter 15 Administration : tibemsAdmin : tibemsAdmin_SetExceptionListener

tibemsAdmin_SetExceptionListener
Function
Purpose
Set an exception listener for the connection used by the administration API to communicate with the EMS server.
C Declaration
tibems_status tibemsAdmin_SetExceptionListener(
    tibemsAdmin admin,
    tibemsExceptionCallback listener,
    const void* closure);
COBOL Call
CALL "tibemsAdmin_SetExceptionListener_STL"
 USING BY VALUE admin,
       BY REFERENCE tibems-AdminException-Status,
       BY VALUE TIBEMS-NULLPTR,
       RETURNING tibems-status
END-CALL.
Parameters
 
For more information about exception listeners, see the TIBCO Enterprise Message Service User’s Guide.
Remarks
This is an alternate pathway for alerting a client program of connection problems. The program defines an exception listener callback function, and calls this function to register the callback and a closure argument. When the client library detects a connection problem, it calls the callback with a status code that identifies the problem.
See Also
tibemsConnection_SetExceptionListener on page 215
Asynchronous Errors.
tibemsExceptionCallback on page 225

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