agentland.util.launcher
Interface Launcher
- All Superinterfaces:
- Agent, Remote
- All Known Implementing Classes:
- LauncherAgent
- public interface Launcher
- extends Agent
Field Summary |
static int |
ERROR
|
ERROR
public static final int ERROR
startAgent
public boolean startAgent(String agent_to_be_run)
throws RemoteException
queryAgent
public int queryAgent(String agent_to_be_queried)
throws RemoteException
- query checks an agent for existence; returns one of the constants
defined in Agent interface (Agent.DIED, Agent.RUNNING, etc
- See Also:
Agent
launchableAgents
public Vector launchableAgents()
throws RemoteException
- launchableAgents returns a listing of agents the launcher knows
about. this is useful for show the user what they can and
cannot launch
whois
public AgentID whois(String agentname)
throws RemoteException
removeLaunchableAgent
public void removeLaunchableAgent(String text)
throws RemoteException
addLaunchableAgent
public void addLaunchableAgent(String spoken_text,
AgentID agentid)
throws RemoteException