de.xabsl.jxabsl.agent
Class Agent

java.lang.Object
  extended by de.xabsl.jxabsl.symbols.NamedItem
      extended by de.xabsl.jxabsl.agent.Agent

public class Agent
extends NamedItem

Combines some options to an agent


Field Summary
 
Fields inherited from class de.xabsl.jxabsl.symbols.NamedItem
debug, name
 
Constructor Summary
Agent(java.lang.String name, Behavior rootOption, DebugMessages debug)
          Constructor
 
Method Summary
 Behavior getRootOption()
          Returns the root option
 
Methods inherited from class de.xabsl.jxabsl.symbols.NamedItem
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Agent

public Agent(java.lang.String name,
             Behavior rootOption,
             DebugMessages debug)
Constructor

Parameters:
name - The name of the agent
rootOption - The initial option of the agent
debug - For printing debug messages
Method Detail

getRootOption

public Behavior getRootOption()
Returns the root option