#include <cbVirtualDevice.hpp>
|
| | ~cbRedisDevice () |
| |
| | cbRedisDevice (int32_t idx) |
| |
| | cbRedisDevice (int32_t idx, const std::string &_port, const std::string &_host, const std::string &_userName, const std::string &_passWord, int32_t dbnum, bool isSsl=false) |
| |
| void | updateUrl () override final |
| |
| WFRedisTask * | set (const std::vector< std::string > ¶ms, const redis_callback &callback_func=nullptr, void *usrData=nullptr, int32_t retryTimes=3) |
| |
| WFRedisTask * | get (const std::vector< std::string > ¶ms, const redis_callback &callback_func=nullptr, void *usrData=nullptr, int32_t retryTimes=3) |
| |
| WFRedisTask * | exists (const std::vector< std::string > ¶ms, const redis_callback &callback_func=nullptr, void *usrData=nullptr, int32_t retryTimes=3) |
| |
| | cbVirtualDevice ()=default |
| |
| | cbVirtualDevice (const std::string &_port, const std::string &_host, const std::string &_userName, const std::string &_passWord, const std::string &_charSet, const std::string _dataBaseName, const virtualDeviceType &v) |
| |
| void | reloadConnection (const std::string &_port, const std::string &_host, const std::string &_userName, const std::string &_passWord, const std::string &_charSet, const std::string &_dataBaseName) |
| |
|
| static void | execMain (WFRedisTask *task) |
| | User should not use this function. All task should be added to graph node in order to execute all task that follows DAG flow. THIS FUNCTION JUST FOR TEST. More...
|
| |
Definition at line 178 of file cbVirtualDevice.hpp.
◆ ~cbRedisDevice()
| trivial::cbRedisDevice::~cbRedisDevice |
( |
| ) |
|
|
inline |
◆ cbRedisDevice() [1/2]
| trivial::cbRedisDevice::cbRedisDevice |
( |
int32_t |
idx | ) |
|
|
inline |
◆ cbRedisDevice() [2/2]
| trivial::cbRedisDevice::cbRedisDevice |
( |
int32_t |
idx, |
|
|
const std::string & |
_port, |
|
|
const std::string & |
_host, |
|
|
const std::string & |
_userName, |
|
|
const std::string & |
_passWord, |
|
|
int32_t |
dbnum, |
|
|
bool |
isSsl = false |
|
) |
| |
|
inline |
◆ execMain()
| void trivial::cbRedisDevice::execMain |
( |
WFRedisTask * |
task | ) |
|
|
static |
User should not use this function. All task should be added to graph node in order to execute all task that follows DAG flow. THIS FUNCTION JUST FOR TEST.
- Parameters
-
Definition at line 104 of file cbVirtualDevice.cpp.
◆ exists()
| WFRedisTask * trivial::cbRedisDevice::exists |
( |
const std::vector< std::string > & |
params, |
|
|
const redis_callback & |
callback_func = nullptr, |
|
|
void * |
usrData = nullptr, |
|
|
int32_t |
retryTimes = 3 |
|
) |
| |
◆ get()
| WFRedisTask * trivial::cbRedisDevice::get |
( |
const std::vector< std::string > & |
params, |
|
|
const redis_callback & |
callback_func = nullptr, |
|
|
void * |
usrData = nullptr, |
|
|
int32_t |
retryTimes = 3 |
|
) |
| |
◆ set()
| WFRedisTask * trivial::cbRedisDevice::set |
( |
const std::vector< std::string > & |
params, |
|
|
const redis_callback & |
callback_func = nullptr, |
|
|
void * |
usrData = nullptr, |
|
|
int32_t |
retryTimes = 3 |
|
) |
| |
◆ updateUrl()
| void trivial::cbRedisDevice::updateUrl |
( |
| ) |
|
|
finaloverridevirtual |
◆ m_dbnum
| int32_t trivial::cbRedisDevice::m_dbnum = 0 |
|
private |
◆ m_idx
| int32_t trivial::cbRedisDevice::m_idx = 0 |
|
private |
◆ m_isSSL
| bool trivial::cbRedisDevice::m_isSSL = false |
|
private |
The documentation for this struct was generated from the following files: