metaglue
Class StartInfo

java.lang.Object
  |
  +--metaglue.StartInfo

public class StartInfo
extends Object

A simple placeholder class for packaging together a MetaglueAgent's ID and another agentID. Used when starting up the Metaglue VM.

See Also:
MetaglueAgent#startInfo

Constructor Summary
StartInfo(AgentID metaglueAgentID, AgentID agentID)
          Creates a new StartInfo instance.
 
Method Summary
 AgentID getAgentID()
          Pulls out the other agent.
 AgentID getMetaglueAgentID()
          Pulls out the metaglueAgent information.
 String toString()
          A pretty string encoding of the startInfo package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StartInfo

public StartInfo(AgentID metaglueAgentID,
                 AgentID agentID)
Creates a new StartInfo instance.
Parameters:
metaglueAgentID - the metaglue VM agent.
agentID - the agent to package.
Method Detail

getMetaglueAgentID

public AgentID getMetaglueAgentID()
Pulls out the metaglueAgent information.
Returns:
the metaglue Agent.

getAgentID

public AgentID getAgentID()
Pulls out the other agent.
Returns:
an AgentID value

toString

public String toString()
A pretty string encoding of the startInfo package.
Overrides:
toString in class Object
Returns:
a String value