Glom::ConnectionPoolBackends::PostgresSelfHosted Class Reference

Inherits Glom::ConnectionPoolBackends::Postgres.

Collaboration diagram for Glom::ConnectionPoolBackends::PostgresSelfHosted:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PostgresSelfHosted ()
bool get_self_hosting_active () const
 Return whether the self-hosted server is currently running.
int get_port () const
 Returns the port number the local postgres server is running on.

Static Public Member Functions

static bool install_postgres (const SlotProgress& slot_progress)
 Try to install postgres on the distro, though this will require a distro-specific patch to the implementation.

Constructor & Destructor Documentation

Glom::ConnectionPoolBackends::PostgresSelfHosted::PostgresSelfHosted (  ) 

Member Function Documentation

int Glom::ConnectionPoolBackends::PostgresSelfHosted::get_port (  )  const

Returns the port number the local postgres server is running on.

Returns:
The port number of the self-hosted server, or 0 if it is not running.
bool Glom::ConnectionPoolBackends::PostgresSelfHosted::get_self_hosting_active (  )  const

Return whether the self-hosted server is currently running.

Returns:
True if it is running, and false otherwise.
bool Glom::ConnectionPoolBackends::PostgresSelfHosted::install_postgres ( const SlotProgress slot_progress  )  [static]

Try to install postgres on the distro, though this will require a distro-specific patch to the implementation.


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

Generated on Thu Jul 22 16:53:06 2010 for libglom-1.14 by  doxygen 1.6.1