ParkNPark.tests
Class ClientInputCopier
java.lang.Object
java.lang.Thread
ParkNPark.tests.InputCopier
ParkNPark.tests.ClientInputCopier
- All Implemented Interfaces:
- Runnable
class ClientInputCopier
- extends InputCopier
Copies server input and specially handles the input lines, looking for
patterns that signal certain events
Method Summary |
protected void |
lineProcessed(String line)
Called after a line has been written to the writer |
protected void |
processingFinished()
Called when the processing finishes, just before
the reader and writer are closed |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, 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 |
processInfo
protected ProcessInfo processInfo
ClientInputCopier
public ClientInputCopier(ProcessInfo processInfo,
Reader reader,
Writer writer)
lineProcessed
protected void lineProcessed(String line)
- Description copied from class:
InputCopier
- Called after a line has been written to the writer
- Overrides:
lineProcessed
in class InputCopier
- Parameters:
line
- The line that was written to the writer
processingFinished
protected void processingFinished()
- Description copied from class:
InputCopier
- Called when the processing finishes, just before
the reader and writer are closed
- Overrides:
processingFinished
in class InputCopier