emsApplication/3rdPartner/libhv/evpp
hkc320 23eb2f89a8 a 2024-11-25 11:23:51 +08:00
..
Buffer.h init 2024-05-24 12:19:45 +08:00
Channel.h init 2024-05-24 12:19:45 +08:00
Event.h init 2024-05-24 12:19:45 +08:00
EventLoop.h a 2024-11-25 11:23:51 +08:00
EventLoopThread.h a 2024-11-25 11:23:51 +08:00
EventLoopThreadPool.h init 2024-05-24 12:19:45 +08:00
EventLoopThreadPool_test.cpp init 2024-05-24 12:19:45 +08:00
EventLoopThread_test.cpp init 2024-05-24 12:19:45 +08:00
EventLoop_test.cpp init 2024-05-24 12:19:45 +08:00
README.md init 2024-05-24 12:19:45 +08:00
Status.h init 2024-05-24 12:19:45 +08:00
TcpClient.h init 2024-05-24 12:19:45 +08:00
TcpClientEventLoop_test.cpp init 2024-05-24 12:19:45 +08:00
TcpClient_test.cpp init 2024-05-24 12:19:45 +08:00
TcpServer.h a 2024-11-25 11:23:51 +08:00
TcpServer_test.cpp init 2024-05-24 12:19:45 +08:00
TimerThread.h init 2024-05-24 12:19:45 +08:00
TimerThread_test.cpp init 2024-05-24 12:19:45 +08:00
UdpClient.h init 2024-05-24 12:19:45 +08:00
UdpClient_test.cpp init 2024-05-24 12:19:45 +08:00
UdpServer.h init 2024-05-24 12:19:45 +08:00
UdpServer_test.cpp init 2024-05-24 12:19:45 +08:00
build_test.sh init 2024-05-24 12:19:45 +08:00

README.md

The evpp module is designed to be header-only and does not participate in compilation. hloop.h is encapsulated into c++ classes, referring to muduo and evpp. You can modify and use evpp classes according to your own business.

evpp模块被设计成只包含头文件不参与编译。 hloop.h中的c接口被封装成了c++的类参考了muduo和evpp。 你能修改和使用这些类根据你自己的业务。

目录结构

.
├── Buffer.h                缓存类
├── Channel.h               通道类封装了hio_t
├── Event.h                 事件类封装了hevent_t、htimer_t
├── EventLoop.h             事件循环类封装了hloop_t
├── EventLoopThread.h       事件循环线程类组合了EventLoop和thread
├── EventLoopThreadPool.h   事件循环线程池类组合了EventLoop和ThreadPool
├── TcpClient.h             TCP客户端类
├── TcpServer.h             TCP服务端类
├── UdpClient.h             UDP客户端类
└── UdpServer.h             UDP服务端类