Class ReplAg

java.lang.Object
jason.asSemantics.Agent
jason.infra.repl.ReplAg
All Implemented Interfaces:
ToDOM, java.io.Serializable
Direct Known Subclasses:
ReplAgGUI

public abstract class ReplAg
extends Agent
See Also:
Serialized Form
  • Field Details

    • replCmds

      java.lang.String[] replCmds
    • cmdCounter

      int cmdCounter
  • Constructor Details

    • ReplAg

      public ReplAg()
  • Method Details

    • initAg

      public void initAg()
      Description copied from class: Agent
      Initialises the TS and other components of the agent
      Overrides:
      initAg in class Agent
    • load

      public void load​(java.lang.String asSrc) throws java.lang.Exception
      Description copied from class: Agent
      parse and load the initial agent code, asSrc may be null
      Overrides:
      load in class Agent
      Throws:
      java.lang.Exception
    • execCmd

      void execCmd​(java.lang.String sCmd)
    • print

      public void print​(java.lang.String s)
    • clear

      public void clear()