agentland.util.launcher
Interface Launcher

All Superinterfaces:
Agent, Remote
All Known Implementing Classes:
LauncherAgent

public interface Launcher
extends Agent


Field Summary
static int ERROR
           
 
Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void addLaunchableAgent(String spoken_text, AgentID agentid)
           
 Vector launchableAgents()
          launchableAgents returns a listing of agents the launcher knows about.
 int queryAgent(String agent_to_be_queried)
          query checks an agent for existence; returns one of the constants defined in Agent interface (Agent.DIED, Agent.RUNNING, etc
 void removeLaunchableAgent(String text)
           
 boolean startAgent(String agent_to_be_run)
           
 AgentID whois(String agentname)
           
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, getOldLogs, shutdown, startup, whereAreYou
 

Field Detail

ERROR

public static final int ERROR
Method Detail

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