Subject: RE: [jade-develop] One agent - two searches -- Howto
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Tue Nov 26 2002 - 10:29:43 MET
Hi,
You should use a jade.proto.SubscriptionInitiator behaviour to interact with the DF. Note that you have to create a content of the form (iota ?x .....) for the SUBSCRIBE message. You can take a look at the code of the DFService.searchUntilFound() method for an example.
Bye
Giovanni
-----Original Message-----
From: Richard Krutisch [mailto:richard.krutisch@gmx.net]
Sent: martedì 26 novembre 2002 4.11
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] One agent - two searches -- Howto
Hello fellows,
My agent wants to start two searches, on one side he wants to look for
offering agents, and on the other side he wants to look for agents, which
as well look for offers like he does.
The agents must not yet exist, but he wants to wait if some are created in
the near future. I tried to searchUntilFound with a timeout, but its blocking
as described in the documentation.
How can I come over this, correctly like intended from Jade
Very big thanks in advance
Richard Krutisch
-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!_______________________________________________ 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 Nov 26 2002 - 10:29:45 MET