protected void onTick() { int ip=(int)(Math.random()*1000+1); ACLMessage msg=new ACLMessage(ACLMessage.INFORM); msg.addReceiver(new AID("receiverAgentt",AID.ISLOCALNAME)); msg.setContent(String.valueOf(i)) this.myAgent.send(msg);
public void action() { // TODO Auto-generated method stub int i ACLMessage msg=receive(); if(msg!=null){ String s=msg.getContent(); iInteger.parseInt(s); System.out.println(i;
--
You received this message because you are subscribed to the Google Groups "Jade" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jadejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.