|
fastdo
0.6.16
|
#include <eiennet_async.hpp>


Public 类型 | |
| using | OkFunction = std::function< bool(winux::SharedPointer< AsyncSocket > servSock, winux::SharedPointer< AsyncSocket > clientSock, ip::EndPoint const &ep) > |
| using | TimeoutFunction = std::function< bool(winux::SharedPointer< AsyncSocket > servSock, IoAcceptCtx *ctx) > |
Public 成员函数 | |
| IoAcceptCtx () | |
Public 成员函数 继承自 eiennet::IoCtx | |
| IoCtx () | |
| virtual | ~IoCtx () |
Public 属性 | |
| OkFunction | cbOk |
| 成功回调函数 更多... | |
| TimeoutFunction | cbTimeout |
| 超时回调函数 更多... | |
| ip::EndPoint | ep |
| 客户连接IP地址 更多... | |
Public 属性 继承自 eiennet::IoCtx | |
| winux::uint64 | startTime |
| 请求开启的时间 更多... | |
| winux::uint64 | timeoutMs |
| 超时时间 更多... | |
在文件 eiennet_async.hpp 第 34 行定义.
| using eiennet::IoAcceptCtx::OkFunction = std::function< bool ( winux::SharedPointer<AsyncSocket> servSock, winux::SharedPointer<AsyncSocket> clientSock, ip::EndPoint const & ep ) > |
在文件 eiennet_async.hpp 第 36 行定义.
| using eiennet::IoAcceptCtx::TimeoutFunction = std::function< bool ( winux::SharedPointer<AsyncSocket> servSock, IoAcceptCtx * ctx ) > |
在文件 eiennet_async.hpp 第 37 行定义.
|
inline |
在文件 eiennet_async.hpp 第 44 行定义.
| OkFunction eiennet::IoAcceptCtx::cbOk |
成功回调函数
在文件 eiennet_async.hpp 第 39 行定义.
| TimeoutFunction eiennet::IoAcceptCtx::cbTimeout |
超时回调函数
在文件 eiennet_async.hpp 第 40 行定义.
| ip::EndPoint eiennet::IoAcceptCtx::ep |
客户连接IP地址
在文件 eiennet_async.hpp 第 42 行定义.