|
fastdo
0.6.16
|
#include <eiennet_async.hpp>


Public 类型 | |
| using | OkFunction = std::function< void(winux::SharedPointer< AsyncSocket > sock, winux::Buffer &data, EndPoint const &ep) > |
| using | TimeoutFunction = std::function< void(winux::SharedPointer< AsyncSocket > sock, IoRecvFromCtx *ctx) > |
Public 成员函数 | |
| IoRecvFromCtx () | |
Public 成员函数 继承自 eiennet::IoCtx | |
| IoCtx () | |
| virtual | ~IoCtx () |
Public 属性 | |
| OkFunction | cbOk |
| 成功回调函数 更多... | |
| TimeoutFunction | cbTimeout |
| 超时回调函数 更多... | |
| size_t | hadBytes |
| 已接收数据量 更多... | |
| size_t | targetBytes |
| 目标数据量 更多... | |
| winux::GrowBuffer | data |
| 已接收的数据 更多... | |
| ip::EndPoint | epFrom |
| 来自此EP的数据 更多... | |
Public 属性 继承自 eiennet::IoCtx | |
| winux::uint64 | startTime |
| 请求开启的时间 更多... | |
| winux::uint64 | timeoutMs |
| 超时时间 更多... | |
在文件 eiennet_async.hpp 第 96 行定义.
| using eiennet::IoRecvFromCtx::OkFunction = std::function< void ( winux::SharedPointer<AsyncSocket> sock, winux::Buffer & data, EndPoint const & ep ) > |
在文件 eiennet_async.hpp 第 98 行定义.
| using eiennet::IoRecvFromCtx::TimeoutFunction = std::function< void ( winux::SharedPointer<AsyncSocket> sock, IoRecvFromCtx * ctx ) > |
在文件 eiennet_async.hpp 第 99 行定义.
|
inline |
在文件 eiennet_async.hpp 第 109 行定义.
| OkFunction eiennet::IoRecvFromCtx::cbOk |
成功回调函数
在文件 eiennet_async.hpp 第 101 行定义.
| TimeoutFunction eiennet::IoRecvFromCtx::cbTimeout |
超时回调函数
在文件 eiennet_async.hpp 第 102 行定义.
| size_t eiennet::IoRecvFromCtx::hadBytes |
已接收数据量
在文件 eiennet_async.hpp 第 104 行定义.
| size_t eiennet::IoRecvFromCtx::targetBytes |
目标数据量
在文件 eiennet_async.hpp 第 105 行定义.
| winux::GrowBuffer eiennet::IoRecvFromCtx::data |
已接收的数据
在文件 eiennet_async.hpp 第 106 行定义.
| ip::EndPoint eiennet::IoRecvFromCtx::epFrom |
来自此EP的数据
在文件 eiennet_async.hpp 第 107 行定义.