tibems_GetAllowCloseInCallback

Function

Purpose

Get whether the client application is allowed to call close or stop functions inside message listener callbacks.

C Declaration

tibems_status tibems_GetAllowCloseInCallback(
    tibems_bool *isAllowed);

COBOL Call

CALL "tibems_GetAllowCloseInCallback"
  USING BY REFERENCE isAllowed,
  RETURNING tibems-status
END-CALL.

Parameters

Parameter Description
isAllowed Return true when the client application does not return with a TIBEMS_ILLEGAL_STATE error status before closing a session or connection or stopping a connection inside a message listener callback. Return false if the application returns with this error in such a situation.