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);