Secure iNet Factory

com.jscape.inet.bsd
Class OutputReader

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.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.


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, 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
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.


Secure iNet Factory

Copyright JSCAPE 1999-2008 All Rights Reserved