Subject: Re: [jade-develop] question
From: Ignazio Pi (email@example.com)
Date: Thu Sep 19 2002 - 11:50:44 MET DST
is the receive() included in a cyclic behaviour, or anyway is that executed
more than just once?
----- Original Message -----
From: "Katia Abi Fadel" <firstname.lastname@example.org>
Sent: Tuesday, September 17, 2002 2:46 PM
Subject: [jade-develop] question
> I'm trying to create agents that are able to communicate between
> them. Just like the testagent examples created by LEAP, I want thanks to
> the gui interface to be able to choose whether I want to send a message,
> and when received to reply or not.
> So I defined 2 classes one to send messages in which I define the
> message as follows:
> ACLMessage msg = new
> This class is working properly.
> One to reply with a message, so I use:
> MessageTemplate m1 =
> ACLMessage m = receive(m1);
> if (m != null)
> However m is always null. Could you please tell me what is wrong?!
> Thank you.
> jade-develop mailing list
> UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Thu Sep 19 2002 - 11:46:53 MET DST