Secure iNet Factory

com.jscape.inet.bsd
Class InputWriter

java.lang.Object
  extended by java.lang.Thread
      extended by com.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.


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

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.

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