libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::connectionpolicy Class Reference

#include <connectionpolicy.hxx>

Inheritance diagram for pqxx::connectionpolicy:
Collaboration diagram for pqxx::connectionpolicy:

Public Types

typedef internal::pq::PGconnhandle
 

Public Member Functions

 connectionpolicy (const PGSTD::string &opts)
 
virtual ~connectionpolicy () throw ()
 
virtual handle do_completeconnect (handle orig)
 
virtual handle do_disconnect (handle orig) throw ()
 
virtual handle do_dropconnect (handle orig) throw ()
 
virtual handle do_startconnect (handle orig)
 
virtual bool is_ready (handle) const throw ()
 
const PGSTD::string & options () const throw ()
 

Protected Member Functions

handle normalconnect (handle)
 

Private Attributes

PGSTD::string m_options
 

Member Typedef Documentation

Constructor & Destructor Documentation

pqxx::connectionpolicy::connectionpolicy ( const PGSTD::string &  opts)
explicit
virtual pqxx::connectionpolicy::~connectionpolicy ( ) throw ()
virtual

Member Function Documentation

virtual handle pqxx::connectionpolicy::do_completeconnect ( handle  orig)
virtual

Reimplemented in pqxx::connect_async, and pqxx::connect_lazy.

virtual handle pqxx::connectionpolicy::do_disconnect ( handle  orig) throw ()
virtual
virtual handle pqxx::connectionpolicy::do_dropconnect ( handle  orig) throw ()
virtual

Reimplemented in pqxx::connect_async.

virtual handle pqxx::connectionpolicy::do_startconnect ( handle  orig)
virtual

Reimplemented in pqxx::connect_async, and pqxx::connect_direct.

virtual bool pqxx::connectionpolicy::is_ready ( handle  ) const throw ()
virtual

Reimplemented in pqxx::connect_async.

handle pqxx::connectionpolicy::normalconnect ( handle  )
protected
const PGSTD::string& pqxx::connectionpolicy::options ( ) const throw ()
inline

Member Data Documentation

PGSTD::string pqxx::connectionpolicy::m_options
private

The documentation for this class was generated from the following file: