dmlite
0.6
|
#include <mysqlpools.h>
Public Member Functions | |
MySqlConnectionFactory () | |
MysqlWrap * | create () |
Creates an element. More... | |
void | destroy (MysqlWrap *) |
Destroys an element. More... | |
bool | isValid (MysqlWrap *) |
Check it is still valid. More... | |
![]() | |
virtual | ~PoolElementFactory () |
Destructor. More... | |
Public Attributes | |
std::string | host |
unsigned int | port |
std::string | user |
std::string | passwd |
int | dirspacereportdepth |
Factory for mysql connections This is just mechanics of how the Poolcontainer class works and wraps the creation of the actual mysql conns
dmlite::MySqlConnectionFactory::MySqlConnectionFactory | ( | ) |
|
virtual |
Creates an element.
Implements dmlite::PoolElementFactory< MysqlWrap *>.
|
virtual |
Destroys an element.
Implements dmlite::PoolElementFactory< MysqlWrap *>.
|
virtual |
Check it is still valid.
Implements dmlite::PoolElementFactory< MysqlWrap *>.
int dmlite::MySqlConnectionFactory::dirspacereportdepth |
std::string dmlite::MySqlConnectionFactory::host |
std::string dmlite::MySqlConnectionFactory::passwd |
unsigned int dmlite::MySqlConnectionFactory::port |
std::string dmlite::MySqlConnectionFactory::user |