ThanksAgent

Author: Fabio Bellifemine (TILab S.p.a)
Date: 31/08/2001

This example proposes an agent that creates some other agent and has a simple conversation with them. Notice how the agent registers itself with the Directory Facilitator.

 

ThanksAgent
Description:
This agent has the following functionality: 
  • registers with the DF
  • creates a list of agents
  • each of this new agents registers with the DF
  • the father agent sends a message of greeting to each of them
  • it waits for an answer to the greeting
  • it thanks the agents that have answered 
Jade classes used:
CyclicBehaviour, DFService,DFServiceDescription,DFAgentDescription
Source
\src\examples\thanksagent\ThanksAgent.java


JADE is a trademark of TILAB (formerly CSELT). 
JADE
has been developed jointly by TILAB (formerly CSELT) and the Computer Engineering Group of the University of Parma