|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.irs.jam.JAM
The JAM Agent application interface
| Constructor Summary | |
JAM()
Default constructor |
|
JAM(Interpreter interpreter)
Constructor with Interpreter |
|
JAM(java.lang.String[] argv)
Constructor w/ command-line arguments |
|
| Method Summary | |
Interpreter |
getInterpreter()
|
static void |
main(java.lang.String[] argv)
Command-line interface for users to start Jam agent. |
void |
myStop()
Stop the currently executing thread safely. |
void |
run()
Overrides the run() method in the Thread parent class. |
boolean |
running()
Returns true if the interpreter is running. |
boolean |
stopped()
Returns true if this thread has been stopped. |
boolean |
think()
Re-entry point for restartable JAM agents. |
boolean |
think(Interpreter interpreter)
Entry-point for deserialized agents to restart. |
boolean |
think(java.lang.String[] argv)
Entry-point for invoking or re-invoking agents from Java code (in contrast to starting it from a command-line). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JAM()
public JAM(java.lang.String[] argv)
public JAM(Interpreter interpreter)
| Method Detail |
public Interpreter getInterpreter()
public void myStop()
public boolean stopped()
true if this thread has been stopped.myStop()public boolean running()
true if the interpreter is running.public static void main(java.lang.String[] argv)
public boolean think(Interpreter interpreter)
public boolean think()
public void run()
run in interface java.lang.RunnableDan Damouth (ORINCON Corp): added for invocation as a thread.
Exception throwing from Martin Klesen (DFKI)
public boolean think(java.lang.String[] argv)
throws java.io.IOException,
ParseException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||