sending and switching behaviours


Subject: sending and switching behaviours
From: Peng Xu (pex066@mail.usask.ca)
Date: Tue Feb 18 2003 - 21:42:50 MET


Hi Jaders,

I am planning to do the following. I'm not sure if this can be done in Jade.

I have an agent running a behaviour B1, then, during the execution of B1 it
will receive an ACL message from another agent, the content of the received
message will be an object of another behaviour, say B2. So is this possible
to
do this? Can I send a behaviour via ACL message?

Secondly, I want to suspend B1 and start to execute B2 (the just received
behaviour).
And, at the end of B2, I want to go back to B1.

That is, I want to add a new behaviour at run time and switch between the
behaviours.
I'd like to hear any suggestions on this.
Thanks!

Peng



This archive was generated by hypermail 2a22 : Tue Feb 18 2003 - 19:41:33 MET