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