#include <mysqlpools.h>
Inherits PoolElementFactory< MysqlWrap * >.

Public Member Functions | |
| MySqlConnectionFactory () | |
| MysqlWrap * | create () |
| Creates an element. | |
| void | destroy (MysqlWrap *) |
| Destroys an element. | |
| bool | isValid (MysqlWrap *) |
| Check it is still valid. | |
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 | ( | ) |
| 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 * >.
| std::string dmlite::MySqlConnectionFactory::host |
| std::string dmlite::MySqlConnectionFactory::passwd |
| unsigned int dmlite::MySqlConnectionFactory::port |
| std::string dmlite::MySqlConnectionFactory::user |
1.6.1