int SvCon::onDisconnected(){ Dispatcher* d = getDispatcher(); d->delConnectServer(m_con_serv_id); ALogError(m_serv->getConfig().LogName) << "<action:server_disconnect> " "<event_loop:" << getEventLoop() << "> <conid:" << getId() << "> <con_serv_id:" << m_con_serv_id << ">"; return 0; }
SvCon::~SvCon(){ Dispatcher* d = getDispatcher(); d->delConnectServer(m_con_serv_id); }