|
MDACC Biostatistics |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mdanderson.biostat.geneclust.Sinterpreter
Sinterpreter - Data processing portion of the application.
Field Summary |
Fields inherited from interface org.mdanderson.biostat.geneclust.SinterpreterKeys |
EXEC_PSEUDO_TERMINAL, PROCESS_COMPLETED, PROCESS_DESTROYED, THREAD_JOINED, WAITING_FOR_PROCESS, WAITING_FOR_THREAD_JOIN |
Constructor Summary | |
Sinterpreter(SProcess simulation)
Class constructor specifying simulation |
Method Summary | |
void |
endSimulation()
Ends the simulation by invoking simulation termination, and performs some thread management cleanup. |
void |
interrupt()
Causes the S interpreter input required to interrupt the simulation to be written to the output stream. |
void |
runSimulation()
Launches the external S interpreter process, sets up process monitoring and logging threads, then writes the simulation input to the output stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Sinterpreter(SProcess simulation)
simulation
- reference to simulation object
NullPointerException
- if simulation object is nullMethod Detail |
public void runSimulation() throws Exception
Exception
- if anything goes wrongpublic void interrupt()
SProcess.writeSinterpreterInterrupt(org.mdanderson.biostat.geneclust.SBufferedWriter)
public void endSimulation()
SProcess.writeSinterpreterTermination(org.mdanderson.biostat.geneclust.SBufferedWriter)
|
MDACC Biostatistics |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |