Subject: Re: [jade-develop] Agent search from remote platform
From: Manuel Padilha (firstname.lastname@example.org)
Date: Tue Feb 11 2003 - 20:52:04 MET
that DFFederator looks like it would become very handy... however my work
was due today and i've managed to deliver it successfully...
the problem i was having was related to a misspelled platform address.
Imagine this (using the HTTP add-on):
Agent A from platform 1 tries to register with the DF of platform 2. he
knows the correct address to send his messages but he misspells the
platform name (say he called it platform 22 instead of 2)
What do you think will happen? I was expecting an error, or the message
being ignored, but something else happens: DF of platform 2 takes over the
entire CPU and locks up completely, Agent A never gets a response to his
register action and also locks up.
I think this could be considered a bug (in Jade? in HTTP-MTP add-on?), don't
--------------------------------- - Manuel Padilha - email: email@example.com - web: http://padilha.ath.cx/ ---------------------------------
On Tuesday 11 February 2003 18:13, Caire Giovanni wrote: > 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:firstname.lastname@example.org] > Sent: domenica 9 febbraio 2003 23.56 > To: email@example.com > 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,
This archive was generated by hypermail 2a22 : Tue Feb 11 2003 - 20:50:42 MET