![]() | Programming Guide | ![]() ![]() ![]() ![]() |
client_exit
The
client_exit
command closes a connection between a client and the middleware.When it closes a connection, Panther cleans up all resources associated with it. This includes aborting outstanding requests and rolling back incomplete transactions. It automatically terminates the connection to all resource managers.
client_exit
sets thetp_return
property to the number of connections actually closed.If you have established a direct connection to an XA-compliant resource manager with the
GROUP
option of client_init, this command closes that connection.
The
client_exit
command can raise the following exceptions:
Exception Severity Cause TP_INVALID_CONNECTION TP_COMMAND TP_INVALID_SERVER_COMMAND TP_COMMAND TP_MONITOR_ERROR TP_ERROR TP_XA_CLOSE_FAILED TP_ERROR