dmlite::MySqlConnectionFactory Class Reference

#include <mysqlpools.h>

Inherits PoolElementFactory< MYSQL * >.

Collaboration diagram for dmlite::MySqlConnectionFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MySqlConnectionFactory ()
MYSQL * create ()
 Creates an element.
void destroy (MYSQL *)
 Destroys an element.
bool isValid (MYSQL *)
 Check it is still valid.

Public Attributes

std::string host
unsigned int port
std::string user
std::string passwd
int dirspacereportdepth

Detailed Description

Factory for mysql connections This is just mechanics of how the Poolcontainer class works and wraps the creation of the actual mysql conns


Constructor & Destructor Documentation

dmlite::MySqlConnectionFactory::MySqlConnectionFactory (  ) 

Member Function Documentation

MYSQL* dmlite::MySqlConnectionFactory::create (  )  [virtual]

Creates an element.

Implements dmlite::PoolElementFactory< MYSQL * >.

void dmlite::MySqlConnectionFactory::destroy ( MYSQL *   )  [virtual]

Destroys an element.

Implements dmlite::PoolElementFactory< MYSQL * >.

bool dmlite::MySqlConnectionFactory::isValid ( MYSQL *   )  [virtual]

Check it is still valid.

Implements dmlite::PoolElementFactory< MYSQL * >.


Member Data Documentation


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

Generated on 6 Dec 2016 for dmlite by  doxygen 1.6.1