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