|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
KCP会话管理器,封装ikcp状态并管理重传定时器。 More...
#include "net/udp/kcp/kcp_endpoint.h"#include "tools/serialize/pack.h"#include "tools/tools/tools_thread.h"#include "tools/tools/tools_time_wheel.h"#include "tools/log/nlog.h"#include "net/asio_base.h"#include "tools/type.h"#include "ikcp.h"#include <memory>#include <map>Classes | |
| class | ngl::kcp_session |
| KCP会话管理类。 More... | |
KCP会话管理器,封装ikcp状态并管理重传定时器。
本文件定义了KCP会话管理类kcp_session,提供以下功能:
该类是KCP网络层的核心管理组件,负责KCP会话的生命周期管理。