INNER CODE UNIT · C++
inactiveEp
TarsCloud/TarsCpp · mock/DbHandle.cpp:135
inactiveEp = getEpsByGroupId(it->second.vInactiveEndpoints, ENUM_USE_WORK_GROUPID, -1, os);
}
if (activeEp.size() == 0) //没有同组的endpoit
{
activeEp = it->second.vActiveEndpoints;
inactiveEp = it->second.vInactiveEndpoints;
}
}
return 0;
}
int CDbHandle::findObjectByIdInGroupPriority(const std::string& sID, const std::string& sIP, std::vector<EndpointF>& vecActive, std::vector<EndpointF>& vecInactive, std::ostringstream& os)
{
vecActive.clear();
vecInactive.clear();
int iClientGroupID = getGroupId(sIP);