|
fastdo
0.6.16
|
#include <eiennet_async.hpp>


Public 类型 | |
| using | OkFunction = std::function< void(winux::SharedPointer< AsyncSocket > sock, winux::uint64 costTimeMs, bool cnnAvail) > |
| using | TimeoutFunction = std::function< void(winux::SharedPointer< AsyncSocket > sock, IoSendCtx *ctx) > |
Public 成员函数 | |
| IoSendCtx () | |
Public 成员函数 继承自 eiennet::IoCtx | |
| IoCtx () | |
| virtual | ~IoCtx () |
Public 属性 | |
| OkFunction | cbOk |
| 成功回调函数 更多... | |
| TimeoutFunction | cbTimeout |
| 超时回调函数 更多... | |
| size_t | hadBytes |
| 已发送数据量 更多... | |
| winux::uint64 | costTimeMs |
| 总花费时间 更多... | |
| winux::Buffer | data |
| 待发送的数据 更多... | |
| bool | cnnAvail |
Public 属性 继承自 eiennet::IoCtx | |
| winux::uint64 | startTime |
| 请求开启的时间 更多... | |
| winux::uint64 | timeoutMs |
| 超时时间 更多... | |
在文件 eiennet_async.hpp 第 79 行定义.
| using eiennet::IoSendCtx::OkFunction = std::function< void ( winux::SharedPointer<AsyncSocket> sock, winux::uint64 costTimeMs, bool cnnAvail ) > |
在文件 eiennet_async.hpp 第 81 行定义.
| using eiennet::IoSendCtx::TimeoutFunction = std::function< void ( winux::SharedPointer<AsyncSocket> sock, IoSendCtx * ctx ) > |
在文件 eiennet_async.hpp 第 82 行定义.
|
inline |
在文件 eiennet_async.hpp 第 92 行定义.
| OkFunction eiennet::IoSendCtx::cbOk |
成功回调函数
在文件 eiennet_async.hpp 第 84 行定义.
| TimeoutFunction eiennet::IoSendCtx::cbTimeout |
超时回调函数
在文件 eiennet_async.hpp 第 85 行定义.
| size_t eiennet::IoSendCtx::hadBytes |
已发送数据量
在文件 eiennet_async.hpp 第 87 行定义.
| winux::uint64 eiennet::IoSendCtx::costTimeMs |
总花费时间
在文件 eiennet_async.hpp 第 88 行定义.
| winux::Buffer eiennet::IoSendCtx::data |
待发送的数据
在文件 eiennet_async.hpp 第 89 行定义.
| bool eiennet::IoSendCtx::cnnAvail |
在文件 eiennet_async.hpp 第 90 行定义.