Subject: RE: [jade-develop] Agent search from remote platform
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Tue Feb 11 2003 - 19:13:56 MET
Hi,
If you look at the latest JADE snapshot you can use the DFFederator agent available in the misc add-on. This agent allows you to federate DFs by means of a GUI. You can look at the code to see how to do that from your application.
Bye
Giovanni
-----Original Message-----
From: Manuel Padilha [mailto:m.padilha@ieee.org]
Sent: domenica 9 febbraio 2003 23.56
To: jade-develop@sharon.cselt.it
Cc: Bellifemine Fabio
Subject: [jade-develop] Agent search from remote platform
On Monday 03 February 2003 11:08, Bellifemine Fabio wrote:
> I think that the best way to connect 2 remote platforms is via the
> federation of their DFs. In such a way, you should not hardcode any
> address, rather you should search with the DF for a list of DFs, and then
> get the address of the DFs living in remote platforms.
and how can i do that without a gui?
in my application i have one "server" plataform and several others (running
on other computers) that i which would connect to that one in such a way
that they could search each other.
i already have the http add-on correctly installed, but i have no idea on
how to federate 2 DF's... i tried doing this:
remoteDF = new AID("df@"+remoteHost+":9999/Central",true);
remoteDF.addAddresses("http://"+remoteHost+":9999/Central");
like someone had suggested before, but when i perform a search on remoteDF
all i get is one DF agent using up all the CPU and never producing any
result.
any clues?
thanks in advance,
----------------------------------- - Manuel Padilha - email: m.padilha@ieee.org - web: http://padilha.ath.cx/ ---------------------------------
_______________________________________________ jade-develop mailing list jade-develop@sharon.cselt.it http://sharon.cselt.it/mailman/listinfo/jade-develop UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe
This archive was generated by hypermail 2a22 : Tue Feb 11 2003 - 19:13:58 MET