org.gridkit.vicluster.telecontrol.ssh
Class ProcessRemoteAdapter

java.lang.Object
  extended by java.lang.Process
      extended by org.gridkit.vicluster.telecontrol.ssh.ProcessRemoteAdapter
All Implemented Interfaces:
Serializable

public class ProcessRemoteAdapter
extends Process
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static interface ProcessRemoteAdapter.RemoteProcess
           
 
Constructor Summary
ProcessRemoteAdapter(Process process, StreamCopyService streamCopyService)
           
 
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

ProcessRemoteAdapter

public ProcessRemoteAdapter(Process process,
                            StreamCopyService streamCopyService)
Method Detail

getOutputStream

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

getInputStream

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

getErrorStream

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

waitFor

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

exitValue

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

destroy

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


Copyright © 2017. All Rights Reserved.