[jade-develop] Agent search from remote platform


Subject: [jade-develop] Agent search from remote platform
From: T. Kivimäki (tero.kivimaki@elisa.fi)
Date: Fri Jan 31 2003 - 12:12:38 MET


Hello all,

How can I get agents of specified type from remote platform?
I am using the following code, but it returns only agents from local
containers.

ServiceDescription sd = new ServiceDescription();
                        sd.setType("KauppiasAgentti");
DFAgentDescription ad = new DFAgentDescription();
                        ad.addServices(sd);
                        try{
                            DFAgentDescription kauppiasAgentit[]=
                                DFService.search(myAgent, ad);

                           .......

_____________________________________________
Tero Kivimäki
Elisa Communications Research Center
tero.kivimaki@elisa.fi +358 10 2621230



This archive was generated by hypermail 2a22 : Fri Jan 31 2003 - 12:09:47 MET