JADE
Agent.setup(). You must add the behaviors
you want your agent to have, use addBehavior.takeDown() with your code for shutting
down nicely (unregister with DF).action method to do its thing. It should execute
quickly (cooperative multitasking).done to
check if the behavior should be removed.onStart and
onEnd--also get called at the obvious times.blockingReceive or non-blocking
receive call.
MessageTemplate class
to fetch messages that match a particular pattern from the
queue.8 of 21