#include <connect_client.hpp>
◆ connect_client()
acl::connect_client::connect_client |
( |
void |
| ) |
|
|
inline |
◆ ~connect_client()
virtual acl::connect_client::~connect_client |
( |
| ) |
|
|
inlinevirtual |
◆ get_pool()
◆ get_when()
time_t acl::connect_client::get_when |
( |
| ) |
|
|
inline |
◆ open()
virtual bool acl::connect_client::open |
( |
| ) |
|
|
pure virtual |
◆ set_pool()
◆ set_timeout()
virtual void acl::connect_client::set_timeout |
( |
int |
conn_timeout, |
|
|
int |
rw_timeout |
|
) |
| |
|
inlinevirtual |
虚函数,该函数设置网络连接超时时间及网络 IO 超时时间,子类可以重载该虚函数, 以便于设置内部的对象超时时间
- 参数
-
conn_timeout | {int} 网络连接超时时间(秒) |
rw_timeout | {int} 网络 IO 超时时间(秒) |
在文件 connect_client.hpp 第 61 行定义.
◆ set_when()
void acl::connect_client::set_when |
( |
time_t |
when | ) |
|
|
inline |
◆ connect_pool
◆ conn_timeout_
int acl::connect_client::conn_timeout_ |
|
protected |
◆ pool_
◆ rw_timeout_
int acl::connect_client::rw_timeout_ |
|
protected |
◆ when_
time_t acl::connect_client::when_ |
|
protected |
该类的文档由以下文件生成: