Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

pqxx::asyncconnection Class Reference

Asynchronous connection class; connects "in the background". More...

#include <connection.hxx>

Inheritance diagram for pqxx::asyncconnection:

pqxx::connection_base List of all members.

Public Member Functions

 asyncconnection ()
 Constructor. Initiates asynchronous connection setup.
 asyncconnection (const PGSTD::string &ConnInfo)
 Constructor. Initiates asynchronous connection setup.
 asyncconnection (const char ConnInfo[])
 Constructor. Initiates asynchronous connection setup.
virtual ~asyncconnection () throw ()

Detailed Description

Asynchronous connection class; connects "in the background".

Connection is initiated when the object is created, but completion is deferred until the connection is actually needed.

This may help performance by allowing the client to do useful work while waiting for an answer from the server.


Constructor & Destructor Documentation

pqxx::asyncconnection::asyncconnection  ) 
 

Constructor. Initiates asynchronous connection setup.

pqxx::asyncconnection::asyncconnection const PGSTD::string &  ConnInfo  )  [explicit]
 

Constructor. Initiates asynchronous connection setup.

Parameters:
ConnInfo A PostgreSQL connection string specifying any required parameters, such as server, port, database, and password.
The README file for libpqxx gives a quick overview of how connection strings work; see the PostgreSQL documentation (particularly for libpq, the C-level interface) for a complete list.

pqxx::asyncconnection::asyncconnection const char  ConnInfo[]  )  [explicit]
 

Constructor. Initiates asynchronous connection setup.

Parameters:
ConnInfo A PostgreSQL connection string specifying any required parameters, such as server, port, database, and password. As a special case, a null pointer is taken as the empty string.
The README file for libpqxx gives a quick overview of how connection strings work; see the PostgreSQL documentation (particularly for libpq, the C-level interface) for a complete list.

pqxx::asyncconnection::~asyncconnection  )  throw () [virtual]
 


The documentation for this class was generated from the following files:
Generated on Mon Nov 15 11:28:02 2004 for libpqxx by  doxygen 1.3.9.1