suggestion for agent implementation

View: New views
2 Messages — Rating Filter:   Alert me  

suggestion for agent implementation

by Andrea Pierangeli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I need to build an agent that:
- registers agentswith messages (of
different type) they want to receive;
- receives messages from agents;
-
forwards received messages to agents that registered befoure for that type.
I
just implemented the registration part using the AchieveReInititator/Responder
protocol.
Now I'd like to know if there is a Behaviour/Protocol that fits my
needs.
Thanks in advance

Andrea Pierangeli
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm

RE: suggestion for agent implementation

by Caire Giovanni-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

If the point is that receiving messages and forward them to interested agents, I would suggest using simply a CyclicBehaviour.

Note also that JADE also provides Topic-based communication that is:
E.g.
- agents A and B can register for messages that "are about Topic SPORT"
- whenever another agent C sends a message about SPORT both A and B will automatically receive the message.

Topic based communication is implemented by means of the jade.core.messaging.TopicManagementService that must therefore be activated in all containers of your platform. See section 3.3.5 of the JADE Programmer's guide for details about Topic-based communication and the classes included in the examples.topic package for an example.

Bye,

Giovanni


-----Original Message-----
From: jade-develop-bounces@... [mailto:jade-develop-bounces@...] On Behalf Of Andrea Pierangeli
Sent: lunedì 19 ottobre 2009 9.30
To: jade-develop@...
Subject: [jade-develop] suggestion for agent implementation

Hi,
I need to build an agent that:
- registers agentswith messages (of
different type) they want to receive;
- receives messages from agents;
-
forwards received messages to agents that registered befoure for that type.
I
just implemented the registration part using the AchieveReInititator/Responder
protocol.
Now I'd like to know if there is a Behaviour/Protocol that fits my
needs.
Thanks in advance

Andrea Pierangeli
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm
_______________________________________________
jade-develop mailing list
jade-develop@...
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm