uwcse.location.objects.versus
Class VersusDriver.LineReaderThread
java.lang.Object
|
+--java.lang.Thread
|
+--uwcse.location.objects.versus.VersusDriver.LineReaderThread
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- VersusDriver
- protected class VersusDriver.LineReaderThread
- extends Thread
A utility helper Thread used to read line-at-a-time data from any
InputStream. Each line read is passed to the handleInputStream() method.
- Author:
- Jeffrey Hightower
- See Also:
#handleInputStream(String)
|
Method Summary |
void |
run()
|
void |
shutdown()
Signal the thread to stop executing. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
m_reader
protected BufferedReader m_reader
m_flag
protected volatile boolean m_flag
VersusDriver.LineReaderThread
public VersusDriver.LineReaderThread(InputStream iStream)
shutdown
public void shutdown()
- Signal the thread to stop executing.
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
This documentation is for the Location Stack v0.8. The latest distribution, the documentation, and the list of contributors to the Location Stack can always be found at http://portolano.cs.washington.edu/projects/location/
© Copyright 2004 University of Washington CSE