|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
code.loop.ReadEvalPrint
public class ReadEvalPrint
Description of the Class
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private static java.lang.String |
badChoice
|
private Command |
command
|
private java.io.BufferedReader |
in
|
private java.io.BufferedWriter |
out
|
private IOQueue |
outputQueue
|
private code.loop.parser.ClpParser |
parser
|
private static boolean |
performingIO
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ReadEvalPrint()
Constructor for the ReadEvalPrint object |
|
ReadEvalPrint(java.io.BufferedReader in)
Constructor for the ReadEvalPrint object |
|
ReadEvalPrint(java.io.BufferedReader in,
java.io.BufferedWriter out)
Constructor for the ReadEvalPrint object |
|
ReadEvalPrint(java.io.BufferedWriter out)
Constructor for the ReadEvalPrint object |
|
| Method Summary | |
|---|---|
private void |
displayInputPrompt()
Description of the Method |
void |
doneChild(Computation computation)
|
private void |
forOutput(java.lang.String header,
Computation computation,
java.io.BufferedWriter out)
|
java.lang.String |
getIdString()
Gets the idString attribute of the ReadEvalPrint object |
private void |
noReturnScript()
Description of the Method |
private Term |
parseAndCheckIO(java.lang.String string)
|
private java.lang.String |
readUserInput()
Description of the Method |
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String badChoice
private static boolean performingIO
private java.io.BufferedReader in
private java.io.BufferedWriter out
private code.loop.parser.ClpParser parser
private IOQueue outputQueue
private Command command
| Constructor Detail |
|---|
public ReadEvalPrint()
public ReadEvalPrint(java.io.BufferedReader in)
in - Description of the Parameterpublic ReadEvalPrint(java.io.BufferedWriter out)
out - Description of the Parameter
public ReadEvalPrint(java.io.BufferedReader in,
java.io.BufferedWriter out)
in - Description of the Parameterout - Description of the Parameter| Method Detail |
|---|
public java.lang.String getIdString()
getIdString in interface Clientpublic void doneChild(Computation computation)
doneChild in interface Client
private Term parseAndCheckIO(java.lang.String string)
throws java.lang.Exception
java.lang.Exception
private void forOutput(java.lang.String header,
Computation computation,
java.io.BufferedWriter out)
throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
private void displayInputPrompt()
throws java.io.IOException
java.io.IOException - Description of the Exception
private java.lang.String readUserInput()
throws java.io.IOException
java.io.IOException - Description of the Exception
private void noReturnScript()
throws java.io.IOException
java.io.IOException - Description of the Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||