libpqxx
4.0.1
|
#include <connectionpolicy.hxx>
Public Types | |
typedef internal::pq::PGconn * | handle |
Public Member Functions | |
connectionpolicy (const std::string &opts) | |
virtual | ~connectionpolicy () throw () |
const std::string & | options () const throw () |
virtual handle | do_startconnect (handle orig) |
virtual handle | do_completeconnect (handle orig) |
virtual handle | do_dropconnect (handle orig) throw () |
virtual handle | do_disconnect (handle orig) throw () |
virtual bool | is_ready (handle) const throw () |
Protected Member Functions | |
handle | normalconnect (handle) |
typedef internal::pq::PGconn* pqxx::connectionpolicy::handle |
|
explicit |
|
virtual |
|
virtual |
Reimplemented in pqxx::connect_async, and pqxx::connect_lazy.
Referenced by pqxx::connection_base::activate().
|
virtual |
|
virtual |
Reimplemented in pqxx::connect_async.
Referenced by do_disconnect().
|
virtual |
Reimplemented in pqxx::connect_async, and pqxx::connect_direct.
Referenced by pqxx::connection_base::activate(), and pqxx::connection_base::init().
|
virtual |
Reimplemented in pqxx::connect_async.
Referenced by pqxx::connection_base::init().
|
protected |
References options().
Referenced by pqxx::connect_lazy::do_completeconnect(), and pqxx::connect_direct::do_startconnect().
const std::string& pqxx::connectionpolicy::options | ( | ) | const | |
throw | ( | |||
) |
Referenced by pqxx::connect_async::do_startconnect(), and normalconnect().