Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 8

Client Recovery Library Reference

The Client Recovery Library includes the following convenience functions you can use in your applications to transparently restore client/server connections in the event of failures:

Function Description
ha_attach() Attach a recovery function to a connection to make it HA-aware.
ha_close() Detach an attached HA fd, then close it.
ha_connection_ctrl() Control the operation of a HA-aware connection.
ha_ConnectAttach(), ha_ConnectAttach_r() Create a connection using ConnectAttach() and attach it to the HA lib.
ha_ConnectDetach(), ha_ConnectDetach_r() Detach an attached fd, then close the connection using ConnectDetach().
ha_creat(), ha_creat64() Create a connection and attach it to the HA lib.
ha_detach() Detach a connection previously attached via ha_attach().
ha_dup() Duplicate an HA connection.
ha_fclose() Detach an attached HA fd for a file stream, then close it.
ha_fopen() Open a file stream and attach it to the HA lib.
ha_open(), ha_open64() Open a connection and attach it to the HA lib.
ha_ReConnectAttach() Reopen a connection while performing recovery.
ha_reopen() Reopen a connection while performing recovery.

Note: For information on using these ha_*() functions, see the chapter Using the Client Recovery Library in this guide.


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 134

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ham_en/ham/client_funcs.html on line 134