From 2c3eddd247e382d483e90362e4b06223315d2370 Mon Sep 17 00:00:00 2001 From: azw Date: Mon, 17 Apr 2023 03:01:43 +0000 Subject: [PATCH] 1 --- server/wsproxy/app.cc | 6 ++++++ server/wsproxy/app.h | 1 + 2 files changed, 7 insertions(+) diff --git a/server/wsproxy/app.cc b/server/wsproxy/app.cc index 187cc34..bc61c28 100644 --- a/server/wsproxy/app.cc +++ b/server/wsproxy/app.cc @@ -251,6 +251,7 @@ void App::QuickExecute() { f8::MsgQueue::Instance()->Update(); DispatchMsg(); + DispatchUdpMsg(); f8::Timer::Instance()->Update(); } @@ -558,3 +559,8 @@ void App::AddUdpMsg(a8::UdpPacket* pkt) udp_msg_mutex_->unlock(); NotifyLoopCond(); } + +void App::DispatchUdpMsg() +{ + +} diff --git a/server/wsproxy/app.h b/server/wsproxy/app.h index e1d1c8a..ec1ee6f 100644 --- a/server/wsproxy/app.h +++ b/server/wsproxy/app.h @@ -43,6 +43,7 @@ private: bool HasTask(); void DispatchMsg(); + void DispatchUdpMsg(); void ProcessClientMsg(f8::MsgHdr& hdr); void ProcessMasterServerMsg(f8::MsgHdr& hdr);