iSeries Remote Systems
v6.0.0

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

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

public class RmtShellThread
extends Thread

Server class that wrappers a qshell so that stderr, stdin and stdout can be transmitted across the network to a remote qshell. This class is launched on the host via a toolbox call from the qshell miner on the client.


Field Summary
protected  boolean _isCancelled
           
static String Copyright
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RmtShellThread(String cwd, String invocation, String encoding)
          Constructor.
 
Method Summary
 String getCWD()
           
 void run()
           
 void sendInput(String input)
           
 void setCWD(String cwd)
           
 
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

_isCancelled

protected boolean _isCancelled
Constructor Detail

RmtShellThread

public RmtShellThread(String cwd,
                      String invocation,
                      String encoding)
Constructor.

Parameters:
cwd - the working directory.
invocation - the command invocation. Should be "shell" to start a shell.
encoding - the expected encoding of the output.
Method Detail

getCWD

public String getCWD()

setCWD

public void setCWD(String cwd)

sendInput

public void sendInput(String input)

run

public void run()

iSeries Remote Systems
v6.0.0

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.