Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ConnectionPoolODBC Class Reference

#include <DatabaseODBC.h>

Inheritance diagram for ConnectionPoolODBC

Inheritance graph

Collaboration diagram for ConnectionPoolODBC:

Collaboration graph

List of all members.

Public Methods

 ConnectionPoolODBC (const nsAReadableString& alias, const nsAReadableString& url, const nsAReadableString& username, const nsAReadableString& password, int maxConn, int timeoutSeconds, int checkoutSeconds, int maxCheckout = 0)
virtual ~ConnectionPoolODBC ()
ConnectionnewConnection ()
virtual ConnectionPoolbuildPool (const nsAReadableString& alias)

Static Public Methods

void DisplayError (SQLRETURN nResult, SWORD fHandleType, SQLHANDLE handle)

Private Methods

bool init ()

Private Attributes

friend ConnectionODBC
HENV m_henv

Constructor & Destructor Documentation

ConnectionPoolODBC::ConnectionPoolODBC ( const nsAReadableString & alias,
const nsAReadableString & url,
const nsAReadableString & username,
const nsAReadableString & password,
int maxConn,
int timeoutSeconds,
int checkoutSeconds,
int maxCheckout = 0 )

Definition at line 24 of file DatabaseODBC.cpp.

Referenced by buildPool().

ConnectionPoolODBC::~ConnectionPoolODBC ( ) [virtual]

Definition at line 34 of file DatabaseODBC.cpp.

Member Function Documentation

void ConnectionPoolODBC::DisplayError ( SQLRETURN nResult,
SWORD fHandleType,
SQLHANDLE handle ) [static]

Definition at line 107 of file DatabaseODBC.cpp.

Referenced by ResultSetODBC::close(), PreparedStatementODBC::close(), ConnectionODBC::connect(), StatementODBC::execute(), PreparedStatementODBC::execute(), ResultSetODBC::getString(), init(), ResultSetODBC::next(), PreparedStatementODBC::setString(), and StatementODBC::~StatementODBC().

ConnectionPool * ConnectionPoolODBC::buildPool ( const nsAReadableString & alias ) [virtual]

Reimplemented from ConnectionPool.

Definition at line 60 of file DatabaseODBC.cpp.

bool ConnectionPoolODBC::init ( ) [private]

Definition at line 40 of file DatabaseODBC.cpp.

Connection * ConnectionPoolODBC::newConnection ( ) [virtual]

Reimplemented from ConnectionPool.

Definition at line 55 of file DatabaseODBC.cpp.

Member Data Documentation

ConnectionODBC [private]

Definition at line 31 of file DatabaseODBC.h.

Referenced by newConnection().

HENV ConnectionPoolODBC::m_henv [private]

Definition at line 39 of file DatabaseODBC.h.

The documentation for this class was generated from the following files:
Generated at Tue Sep 12 16:29:49 2000 by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000