Secure iNet Factory

com.jscape.inet.bsd
Class OutputReader

java.lang.Object
  extended by java.lang.Thread
      extended by com.jscape.inet.bsd.OutputReader
All Implemented Interfaces:
java.lang.Runnable

public class OutputReader
extends java.lang.Thread

OutputReader is an utility class that should be is used to read the output of a remote bsd process and write it to local output stream.


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 java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
OutputReader(java.io.InputStream remoteOutput, java.io.OutputStream localOutput, java.util.Vector bsdListeners)
          Constructs the OutputWriter thread.
 
Method Summary
 void run()
          Thread for controlling OutputReader.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutputReader

public OutputReader(java.io.InputStream remoteOutput,
                    java.io.OutputStream localOutput,
                    java.util.Vector bsdListeners)
Constructs the OutputWriter thread.

Parameters:
remoteOutput - the InputStream stream that thread reads from.
localOutput - the OutputStream stream that thread writes to.
bsdListeners - a Vector of BsdListener
Method Detail

run

public void run()
Thread for controlling OutputReader.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved