|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrescuecore.tools.simulationrunner.LogReader
Constructor Summary | |
LogReader(java.io.InputStream in)
Generate a new LogReader that reads from the given InputStream |
|
LogReader(java.io.InputStream in,
java.io.OutputStream log)
Generate a new LogReader that reads from the given InputStream and writes to the given OutputStream |
Method Summary | |
void |
addOutputStream(java.io.OutputStream stream)
Add a new destination for the data |
void |
kill()
Shut down this LogReader |
void |
run()
|
void |
start()
Start this LogReader |
void |
start(java.lang.String waitFor,
RescueProcess process)
Start this LogReader and wait for a particular String to appear in the output. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LogReader(java.io.InputStream in, java.io.OutputStream log)
in
- The InputStream to readlog
- An OutputStream to write topublic LogReader(java.io.InputStream in)
in
- The InputStream to readMethod Detail |
public void addOutputStream(java.io.OutputStream stream)
stream
- The new destination for data.public void kill()
public void start()
public void start(java.lang.String waitFor, RescueProcess process)
waitFor
- The message to wait forprocess
- The RescueProcess that controls this LogReaderpublic void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |