dmlite  0.6
Public Member Functions | Public Attributes | List of all members
dmlite::MySqlConnectionFactory Class Reference

#include <mysqlpools.h>

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

Public Member Functions

 MySqlConnectionFactory ()
 
MysqlWrapcreate ()
 Creates an element. More...
 
void destroy (MysqlWrap *)
 Destroys an element. More...
 
bool isValid (MysqlWrap *)
 Check it is still valid. More...
 
- Public Member Functions inherited from dmlite::PoolElementFactory< MysqlWrap * >
virtual ~PoolElementFactory ()
 Destructor. More...
 

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

MysqlWrap* dmlite::MySqlConnectionFactory::create ( )
virtual

Creates an element.

Implements dmlite::PoolElementFactory< MysqlWrap * >.

void dmlite::MySqlConnectionFactory::destroy ( MysqlWrap )
virtual

Destroys an element.

Implements dmlite::PoolElementFactory< MysqlWrap * >.

bool dmlite::MySqlConnectionFactory::isValid ( MysqlWrap )
virtual

Check it is still valid.

Implements dmlite::PoolElementFactory< MysqlWrap * >.

Member Data Documentation

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

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