Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

Client Recovery Library Reference

The HAT 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.


[Previous] [Contents] [Index] [Next]