Secure iNet Factory

com.jscape.inet.bsd
Class InputWriter

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.jscape.inet.bsd.InputWriter
All Implemented Interfaces:
java.lang.Runnable

public class InputWriter
extends java.lang.Thread

InputWriter is an utility class that should be is used to handle user input and write it to the input of remote bsd process.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
InputWriter(java.io.InputStream localInput, java.io.OutputStream remoteInput, java.util.Vector bsdListeners)
          Constructs the InputWriter thread.
 
Method Summary
 void run()
          Thread for running InputWriter.
 
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

InputWriter

public InputWriter(java.io.InputStream localInput,
                   java.io.OutputStream remoteInput,
                   java.util.Vector bsdListeners)
Constructs the InputWriter thread.

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

run

public void run()
Thread for running InputWriter.


Secure iNet Factory

Copyright JSCAPE 1999-2008 All Rights Reserved