PTP
Release 5.0

org.eclipse.ptp.remote.core
Class RemoteProcessAdapter

java.lang.Object
  extended by java.lang.Process
      extended by org.eclipse.ptp.remote.core.RemoteProcessAdapter

public class RemoteProcessAdapter
extends Process

Adapts an IRemoteProcess to a java.lang.Process


Constructor Summary
RemoteProcessAdapter(IRemoteProcess process)
           
 
Method Summary
 void destroy()
           
 int exitValue()
           
 InputStream getErrorStream()
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProcessAdapter

public RemoteProcessAdapter(IRemoteProcess process)
Method Detail

destroy

public void destroy()
Specified by:
destroy in class Process

exitValue

public int exitValue()
Specified by:
exitValue in class Process

getErrorStream

public InputStream getErrorStream()
Specified by:
getErrorStream in class Process

getInputStream

public InputStream getInputStream()
Specified by:
getInputStream in class Process

getOutputStream

public OutputStream getOutputStream()
Specified by:
getOutputStream in class Process

waitFor

public int waitFor()
            throws InterruptedException
Specified by:
waitFor in class Process
Throws:
InterruptedException

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.