feat(rpc_server): integrate MessageHandler into RpcServer

This commit is contained in:
Changhua 2025-02-13 00:13:29 +08:00
parent fdeda6d413
commit f6ceb8139a

View File

@ -54,8 +54,10 @@ void RpcServer::destroyInstance()
}
}
RpcServer::RpcServer(int port) : port_(port), handler_(message::Handler::getInstance() {
LOG_DEBUG("RpcServer 构造: 端口 {}", port_); }
RpcServer::RpcServer(int port) : port_(port), handler_(message::Handler::getInstance())
{
LOG_DEBUG("RpcServer 构造: 端口 {}", port_);
}
RpcServer::~RpcServer()
{