|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.ptolemy.fmi.FMUBuilder._StreamReaderThread
private static class FMUBuilder._StreamReaderThread
Private class that reads a stream in a thread and updates the the FMUBuilder.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
private FMUBuilder |
_fmuBuilder
FMUBuilder which is written. |
private java.io.InputStream |
_inputStream
Stream from which to read. |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
FMUBuilder._StreamReaderThread(java.io.InputStream inputStream,
FMUBuilder fmuBuilder)
Construct a StreamReaderThread. |
Method Summary | |
---|---|
void |
run()
Read lines from the _inputStream and output them. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, 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 |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.io.InputStream _inputStream
private FMUBuilder _fmuBuilder
Constructor Detail |
---|
FMUBuilder._StreamReaderThread(java.io.InputStream inputStream, FMUBuilder fmuBuilder)
inputStream
- the stream from which to read.fmuBuilder
- The FMUBuilder to be written.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |