|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
qat.agent.ReaderThread
This class is used to allow reading of streams without the risk of blocking thread execution.
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ReaderThread(java.lang.String name,
java.io.InputStream s,
boolean mode,
java.io.File traceFileName)
Constructs a stream reader, and gets ready to read it. |
Method Summary | |
void |
interrupt()
This method causes this object instance to stop excuting, and frees all the resources associated with this stream reader. |
void |
run()
This starts reading the actual thread. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
Constructor Detail |
public ReaderThread(java.lang.String name, java.io.InputStream s, boolean mode, java.io.File traceFileName) throws java.io.IOException
s
- - the stream we want to readMethod Detail |
public void run()
public void interrupt()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |