Remote Systems
v6.4.1

com.ibm.etools.systems.launch
Class RemoteProcess

java.lang.Object
  extended byjava.lang.Process
      extended bycom.ibm.etools.systems.launch.RemoteProcess

public class RemoteProcess
extends Process


Constructor Summary
RemoteProcess(IRemoteCommandLauncher remoteCommandLauncher)
           
 
Method Summary
 void appendError(String errorString)
           
 void appendOutput(String outputString)
          Get output stream of process.
 void destroy()
          Destory remote process.
 int exitValue()
           
 InputStream getErrorStream()
          Get error stream of process.
 InputStream getInputStream()
          Get input stream of process.
 OutputStream getOutputStream()
          Get output stream of process.
 PipedInputStream getPipedInputStream()
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProcess

public RemoteProcess(IRemoteCommandLauncher remoteCommandLauncher)
Method Detail

exitValue

public int exitValue()

waitFor

public int waitFor()
            throws InterruptedException
Throws:
InterruptedException

destroy

public void destroy()
Destory remote process.


getErrorStream

public InputStream getErrorStream()
Get error stream of process.


getInputStream

public InputStream getInputStream()
Get input stream of process.


getOutputStream

public OutputStream getOutputStream()
Get output stream of process.


appendOutput

public void appendOutput(String outputString)
Get output stream of process.


appendError

public void appendError(String errorString)

getPipedInputStream

public PipedInputStream getPipedInputStream()
Returns:

Remote Systems
v6.4.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.