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


Chapter 7 Connection : tibemsConnection : tibemsConnection_IsDisconnected

tibemsConnection_IsDisconnected
Function
Purpose
Checks whether the connection has been disconnected.
C Declaration
tibems_status tibemsConnection_IsDisconnected(
    tibemsConnection connection,
    tibems_bool* disconnected);
COBOL Call
CALL "tibemsConnection_IsDisconnected"
     USING BY VALUE connection,
           BY REFERENCE disconnected,
           RETURNING tibems-status
END-CALL.
 
connection has usage pointer.
Parameters
 
Remarks
This function gets a value indicating whether the connection is disconnected from the server. If the connection is disconnected from the server, tibemsConnection_IsDisconnected sets the the connection status to TRUE. Otherwise, the connection status is FALSE.
That is, if the client has called tibemsConnection_Close, or if the connection has been terminated due to a network failure, tibemsConnection_IsDisconnected returns TRUE.

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