tibemsConnection_GetExceptionListener


Function

Purpose

Get the exception listener of a connection.

C Declaration

tibems_status tibemsConnection_GetExceptionListener( 
    tibemsConnection connection, 
    tibemsExceptionCallback* listener, 
    void** closure ); 

Parameter
Description
connection
Get the exception listener of this connection.
listener
The function stores a pointer to the exception listener callback in this location.
closure
The function stores a pointer to the exception listener closure argument in this location.

Remarks

This is an alternate pathway for alerting a client program of connection problems. The program defines an exception listener callback function, and registers the callback using tibemsConnection_SetExceptionListener. When the client library detects a connection problem, it calls the callback with an exception argument that details the problem.
This call is not available in COBOL.

See Also

tibemsConnection_SetExceptionListener

Asynchronous Errors.

tibemsExceptionCallback


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