宅の士 1e3dd552fd add windows dll versions resource (#712) 8 months ago
..
Buffer.h 7272667d2e evpp: c++ classes of event 4 years ago
Channel.h 41c63bfbf0 optimize: avoid to trigger on_close if not set onclose 8 months ago
Event.h 5f8dba354d Add namespace hv for INVALID_TIMER_ID (#292) 3 years ago
EventLoop.h 1e3dd552fd add windows dll versions resource (#712) 8 months ago
EventLoopThread.h b350201209 Avoid repeated EventLoopThread::start 1 year ago
EventLoopThreadPool.h 9e1dc7e26e fix: EventLoopThread::stop cannot end when loop_thread is destroyed when app exited (#413) 2 years ago
EventLoopThreadPool_test.cpp 516a9bc849 valgrind check 4 years ago
EventLoopThread_test.cpp 648183cec5 update 4 years ago
EventLoop_test.cpp 0cbf8eb8cf optimize #398: std::make_shared 2 years ago
README.md 7272667d2e evpp: c++ classes of event 4 years ago
Status.h 4f9d8e9627 Add evpp: EventLoop EventLoopThread EventLoopThreadPool 5 years ago
TcpClient.h 1e3dd552fd add windows dll versions resource (#712) 8 months ago
TcpClientEventLoop_test.cpp 67139ab316 Add TcpClient::deleteInLoop for #496 1 year ago
TcpClient_test.cpp 13f28ba6fd cmd add remote_host 2 years ago
TcpServer.h b350201209 Avoid repeated EventLoopThread::start 1 year ago
TcpServer_test.cpp aba82b91f8 #221: save host and port for restart 3 years ago
TimerThread.h 00032a49c5 #244: timer thread-safe 3 years ago
TimerThread_test.cpp 00032a49c5 #244: timer thread-safe 3 years ago
UdpClient.h 3d0233dd0e fix: add hio_sendto to replace hio_set_peeraddr,hio_write (#707) 8 months ago
UdpClient_test.cpp 13f28ba6fd cmd add remote_host 2 years ago
UdpServer.h 3d0233dd0e fix: add hio_sendto to replace hio_set_peeraddr,hio_write (#707) 8 months ago
UdpServer_test.cpp aba82b91f8 #221: save host and port for restart 3 years ago
build_test.sh a12be753c2 make evpp 4 years ago

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