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