1
0
hewei.it 156f8d0420 fixbug: crash when enable_reconnect=true 4 жил өмнө
..
Buffer.h 7272667d2e evpp: c++ classes of event 4 жил өмнө
Callback.h 7272667d2e evpp: c++ classes of event 4 жил өмнө
Channel.h 5e003585a3 HV_EXPORT hio_getcb_xxx 4 жил өмнө
Event.h e751004cca use evpp to refactor AsyncHttpClient 4 жил өмнө
EventLoop.h 156f8d0420 fixbug: crash when enable_reconnect=true 4 жил өмнө
EventLoopThread.h 7272667d2e evpp: c++ classes of event 4 жил өмнө
EventLoopThreadPool.h 7c339c47e2 filter-out *_test.c 4 жил өмнө
EventLoopThreadPool_test.cpp 7c339c47e2 filter-out *_test.c 4 жил өмнө
EventLoopThread_test.cpp 4f9d8e9627 Add evpp: EventLoop EventLoopThread EventLoopThreadPool 5 жил өмнө
EventLoop_test.cpp a12be753c2 make evpp 4 жил өмнө
README.md 7272667d2e evpp: c++ classes of event 4 жил өмнө
Status.h 4f9d8e9627 Add evpp: EventLoop EventLoopThread EventLoopThreadPool 5 жил өмнө
TcpClient.h 156f8d0420 fixbug: crash when enable_reconnect=true 4 жил өмнө
TcpClient_test.cpp 3e15658ee2 sleep => hv_sleep 4 жил өмнө
TcpServer.h 8e70be9fd9 fixbug: vector resize may cause invalid references 4 жил өмнө
TcpServer_test.cpp 3e15658ee2 sleep => hv_sleep 4 жил өмнө
UdpClient.h 22dd4abe67 update 4 жил өмнө
UdpClient_test.cpp 3e15658ee2 sleep => hv_sleep 4 жил өмнө
UdpServer.h 22dd4abe67 update 4 жил өмнө
UdpServer_test.cpp 3e15658ee2 sleep => hv_sleep 4 жил өмнө
build_test.sh a12be753c2 make evpp 4 жил өмнө

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服务端类