de.dfki.lt.hog.modules
Class Rasp2Module.WatchedProcess

java.lang.Object
  extended by java.lang.Process
      extended by de.dfki.lt.hog.modules.Rasp2Module.WatchedProcess
Enclosing class:
Rasp2Module

public static class Rasp2Module.WatchedProcess
extends java.lang.Process


Constructor Summary
Rasp2Module.WatchedProcess(java.lang.Process pWrappedProcess)
           
 
Method Summary
 void destroy()
          
 int exitValue()
          
 java.io.InputStream getErrorStream()
          
 java.io.InputStream getInputStream()
          
 java.io.OutputStream getOutputStream()
          
 boolean isGuarding()
           
 void startGuard(int millis)
           
 boolean stopGuard()
           
 int waitFor()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rasp2Module.WatchedProcess

public Rasp2Module.WatchedProcess(java.lang.Process pWrappedProcess)
Method Detail

startGuard

public void startGuard(int millis)

stopGuard

public boolean stopGuard()

isGuarding

public boolean isGuarding()

destroy

public void destroy()

Specified by:
destroy in class java.lang.Process

exitValue

public int exitValue()

Specified by:
exitValue in class java.lang.Process

getErrorStream

public java.io.InputStream getErrorStream()

Specified by:
getErrorStream in class java.lang.Process

getInputStream

public java.io.InputStream getInputStream()

Specified by:
getInputStream in class java.lang.Process

getOutputStream

public java.io.OutputStream getOutputStream()

Specified by:
getOutputStream in class java.lang.Process

waitFor

public int waitFor()
            throws java.lang.InterruptedException

Specified by:
waitFor in class java.lang.Process
Throws:
java.lang.InterruptedException