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