#include <connection_base.hxx>
Inheritance diagram for pqxx::internal::connectionpolicy_base:
Public Member Functions | |
pq::PGconn * | start () |
pq::PGconn * | start_if_needed (pq::PGconn *) |
pq::PGconn * | complete (pq::PGconn *) |
pq::PGconn * | fullconnect (pq::PGconn *) |
pq::PGconn * | reset (pq::PGconn *) |
void | disconnect (pq::PGconn *old) throw () |
void | close_and_throw (pq::PGconn *) |
Utility function: close failed connection and throw broken_connection. | |
Protected Member Functions | |
connectionpolicy_base (connection_base &c) throw () | |
connection_base & | connection_obj () const throw () |
Return connection_base object we're mated with. | |
void | wait_read () const |
Wait until connection may have incoming data for us. | |
void | wait_read (long seconds, long microseconds) const |
Wait until connection may have incoming data for us, or timeout expires. | |
void | wait_write () const |
Wait until connection can accept outgoing data. | |
connection_base & | conn () const throw () |
This class is fragile. It has virtual functions but no virtual destructor.
|
|
|
Utility function: close failed connection and throw broken_connection.
|
|
|
|
|
|
Return connection_base object we're mated with.
|
|
|
|
|
|
|
|
|
|
|
|
Wait until connection may have incoming data for us, or timeout expires.
|
|
Wait until connection may have incoming data for us.
|
|
Wait until connection can accept outgoing data.
|