next up previous contents
Next: getCommunicationService(String agentsystem) Up: Resource Access Previous: Resource Access   Contents

getMAFFinder()

The method returns the proxy for the MAFFinder on the System. The following line from the example Agent uses this method to do a lookup to itself:

 Location[] obs = getMAFFinder().lookupAgent(

                    new Name(helper.getID()), profile);

The MAFFinder gives back an array of locations, but only the first one is filled since an Agent can only be registered with one location.



Thomas Letsch 2001-02-21