//----------------------------------------------------------------------------- // 描述: TCP连接上的一个发送任务已完成 //----------------------------------------------------------------------------- void IseSvrModBusiness::onTcpSendComplete(const TcpConnectionPtr& connection, const Context& context) { TcpServerIndexMap::iterator iter = tcpServerIndexMap_.find(connection->getServerIndex()); if (iter != tcpServerIndexMap_.end()) { int modIndex = iter->second; serverModuleMgr_.getItem(modIndex).onTcpSendComplete(connection, context); } }