iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.core.server.rmtshell
Class RmtShellOutputHandler

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ibm.etools.iseries.core.server.rmtshell.RmtShellOutputHandler
All Implemented Interfaces:
Runnable

public class RmtShellOutputHandler
extends Thread

Server class for reading IO from a QShell and sending it back across the network to the client. The output is sent back to the QShell miner.


Field Summary
protected  int _waitIncrement
           
static String Copyright
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RmtShellOutputHandler(InputStream inputStream, PrintStream outStream, RmtShellThread thread, boolean error, String encoding)
          Constructor.
 
Method Summary
 void finish()
           
 boolean isFinished()
           
 void run()
           
 void setLSHandling(boolean flag)
           
 void setWaitTime(int value)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_waitIncrement

protected int _waitIncrement
Constructor Detail

RmtShellOutputHandler

public RmtShellOutputHandler(InputStream inputStream,
                             PrintStream outStream,
                             RmtShellThread thread,
                             boolean error,
                             String encoding)
Constructor.

Parameters:
inputStream - the input stream from which data needs to be read.
outStream - the print stream to which to output data.
thread - the calling thread.
error - true if the the print stream is an error stream, false otherwise.
encoding - the expected encoding of the output.
Method Detail

setLSHandling

public void setLSHandling(boolean flag)

setWaitTime

public void setWaitTime(int value)

isFinished

public boolean isFinished()

finish

public void finish()

run

public void run()

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.