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)

Field Summary
protected  boolean m_flag
           
protected  BufferedReader m_reader
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
VersusDriver.LineReaderThread(InputStream iStream)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_reader

protected BufferedReader m_reader

m_flag

protected volatile boolean m_flag
Constructor Detail

VersusDriver.LineReaderThread

public VersusDriver.LineReaderThread(InputStream iStream)
Method Detail

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