public void disconnectAgent(Agent agent) { logger.info("Disconnecting " + agent.agentName()); agents.remove(agent); }
public void connectAgent(String name, Agent agent) { logger.info("Connecting " + agent.agentName()); agents.put(name, agent); }