agentland.resource.util
Interface ResourceRetriever

All Known Implementing Classes:
ResourceRetrieverAgent

public interface ResourceRetriever
extends Managed


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void loadBunch(String request)
          Make a resource request.
 AgentID retrieve(String occ)
           
 AgentID retrieve(String occ, Object des)
          Do a resource request on behalf of the caller, and return the agent ID associated with it.
 
Methods inherited from interface agentland.resource.Managed
getNeed, replace, resources, yank, yank
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

retrieve

public AgentID retrieve(String occ,
                        Object des)
                 throws RemoteException
Do a resource request on behalf of the caller, and return the agent ID associated with it. Does all the fancy testing and translations.

retrieve

public AgentID retrieve(String occ)
                 throws RemoteException

loadBunch

public void loadBunch(String request)
               throws RemoteException
Make a resource request. Print out all the stuff we got from it.