|
libpqxx
3.1.1
|
Asynchronous connection policy; connects "in the background". More...
#include <connection.hxx>
Public Member Functions | |
| connect_async (const std::string &opts) | |
| virtual handle | do_startconnect (handle) |
| virtual handle | do_completeconnect (handle) |
| virtual handle | do_dropconnect (handle) throw () |
| virtual bool | is_ready (handle) const throw () |
Public Member Functions inherited from pqxx::connectionpolicy | |
| connectionpolicy (const std::string &opts) | |
| virtual | ~connectionpolicy () throw () |
| const std::string & | options () const throw () |
| virtual handle | do_disconnect (handle orig) throw () |
Additional Inherited Members | |
Public Types inherited from pqxx::connectionpolicy | |
| typedef internal::pq::PGconn * | handle |
Protected Member Functions inherited from pqxx::connectionpolicy | |
| handle | normalconnect (handle) |
Asynchronous connection policy; connects "in the background".
Connection is initiated immediately, 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.
|
explicit |
|
virtual |
Reimplemented from pqxx::connectionpolicy.
References pqxx::internal::wait_read(), and pqxx::internal::wait_write().
|
virtual |
Reimplemented from pqxx::connectionpolicy.
|
virtual |
Reimplemented from pqxx::connectionpolicy.
|
virtual |
Reimplemented from pqxx::connectionpolicy.