#include <aio_stream.hpp>
异步流回调类
在文件 aio_stream.hpp 第 19 行定义.
◆ aio_callback()
acl::aio_callback::aio_callback |
( |
void |
| ) |
|
|
inline |
◆ ~aio_callback()
virtual acl::aio_callback::~aio_callback |
( |
void |
| ) |
|
|
inlinevirtual |
◆ close_callback()
virtual void acl::aio_callback::close_callback |
( |
void |
| ) |
|
|
inlinevirtual |
◆ read_callback()
virtual bool acl::aio_callback::read_callback |
( |
char * |
data, |
|
|
int |
len |
|
) |
| |
|
inlinevirtual |
◆ read_wakeup()
virtual bool acl::aio_callback::read_wakeup |
( |
void |
| ) |
|
|
inlinevirtual |
◆ timeout_callback()
virtual bool acl::aio_callback::timeout_callback |
( |
void |
| ) |
|
|
inlinevirtual |
◆ write_callback()
virtual bool acl::aio_callback::write_callback |
( |
void |
| ) |
|
|
inlinevirtual |
◆ write_wakeup()
virtual bool acl::aio_callback::write_wakeup |
( |
void |
| ) |
|
|
inlinevirtual |
读回调虚函数,该回调函数当满足了类 aio_ostream 实例中的 write_wait 的可写条件即异步流可写时被调用;当超时时会 调用 timeout_callback,流异常被关闭时会调用 close_callback
在文件 aio_stream.hpp 第 70 行定义.
该类的文档由以下文件生成: