use of com.tencent.angel.psagent.PSAgentId in project angel by Tencent.
the class PSAgentManager method initPSAgents.
private void initPSAgents() throws InvalidParameterException {
for (int i = 0; i < psAgentNumber; i++) {
PSAgentId id = new PSAgentId(i);
AMPSAgent agent = new AMPSAgent(context, id, new Location(ips[i], 0));
psAgentMap.put(id, agent);
}
}