INNER CODE UNIT · C++
vecInactive
TarsCloud/TarsCpp · mock/DbHandle.cpp:189
vecInactive = getEpsByGroupId(itObject->second.vInactiveEndpoints, ENUM_USE_WORK_GROUPID, -1, os);
os << "|(In No Grouop: Active=" << vecActive.size() << " Inactive=" << vecInactive.size() << ")";
}
//在未分组的情况下也没有找到,返回全部地址(此时基本上所有的服务都已挂掉)
if (vecActive.empty())
{
vecActive = itObject->second.vActiveEndpoints;
vecInactive = itObject->second.vInactiveEndpoints;
os << "|(In All: Active=" << vecActive.size() << " Inactive=" << vecInactive.size() << ")";
}
return 0;
}
int CDbHandle::findObjectByIdInSameStation(const std::string& sID, const std::string& sStation, std::vector<EndpointF>& vecActive, std::vector<EndpointF>& vecInactive, std::ostringstream& os)
{
vecActive.clear();