com.googlepages.dronten.jripper.util
Class ProcessRunnerReadProcWriteProc

java.lang.Object
  extended by java.lang.Thread
      extended by com.googlepages.dronten.jripper.util.BaseThread
          extended by com.googlepages.dronten.jripper.util.ProcessRunner
              extended by com.googlepages.dronten.jripper.util.ProcessRunnerReadProcWriteProc
All Implemented Interfaces:
java.lang.Runnable

public class ProcessRunnerReadProcWriteProc
extends ProcessRunner

Process thread that uses other threads for reading from child thread outputs. One of the reader can also write to another child process.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.googlepages.dronten.jripper.util.ProcessRunner
aExitReadCode, aExitWriteCode, aReadFileName, aReadParam, aReadProcess, aThread1, aThread2, aWriteFileName, aWriteParam, aWriteProcess
 
Fields inherited from class com.googlepages.dronten.jripper.util.BaseThread
aProgress, aRunning
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProcessRunnerReadProcWriteProc(Log log, Progress progress, ProcessParam readParam, ProcessParam writeParam, StreamThread stdinThread, StreamThread stderrThread)
          Create a ProcessRunner object that can read from one process and write to another process.
 
Method Summary
 
Methods inherited from class com.googlepages.dronten.jripper.util.ProcessRunner
close, getExitReadCode, getExitWriteCode, getThread1, hasFailed, run, stopLogging
 
Methods inherited from class com.googlepages.dronten.jripper.util.BaseThread
addLog, getLog, getTrackNum, setFailed, setLog, setTrackNum, stopRunning
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessRunnerReadProcWriteProc

public ProcessRunnerReadProcWriteProc(Log log,
                                      Progress progress,
                                      ProcessParam readParam,
                                      ProcessParam writeParam,
                                      StreamThread stdinThread,
                                      StreamThread stderrThread)
Create a ProcessRunner object that can read from one process and write to another process.

Parameters:
log -
readParam -
writeParam -
stdinThread -
stderrThread -