protected void handleFailure(ACLMessage failure) { String text = failure.getContent(); System.out.println(myAgent.getAID().getLocalName() + ": Curator failure (" + text + ")"); exitCode = 1; }
protected void handleInform(ACLMessage inform) { String text = inform.getContent(); System.out.println( myAgent.getAID().getLocalName() + ": response from Curator (" + text + ")"); exitCode = 0; }