*/
@Override
public List<AgentInfo> getAllVisible() {
List<AgentInfo> agents = Lists.newArrayList();
for (AgentInfo agentInfo : getAllLocal()) {
final AgentControllerState state = agentInfo.getState();
if (state != null && state.isActive()) {
agents.add(agentInfo);
}
}
return agents;
}