org.eclipse.cdt.debug.mi.core
Class MIProcessAdapter

java.lang.Object
  extended by org.eclipse.cdt.debug.mi.core.MIProcessAdapter
All Implemented Interfaces:
org.eclipse.cdt.debug.mi.core.MIProcess
Direct Known Subclasses:
CygwinMIProcessAdapter

public class MIProcessAdapter
extends java.lang.Object
implements org.eclipse.cdt.debug.mi.core.MIProcess


Constructor Summary
MIProcessAdapter(java.lang.String[] args, int launchTimeout, org.eclipse.core.runtime.IProgressMonitor monitor)
           
MIProcessAdapter(java.lang.String[] args, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Method Summary
 boolean canInterrupt(org.eclipse.cdt.debug.mi.core.MIInferior inferior)
           
 void destroy()
           
 int exitValue()
           
 java.io.InputStream getErrorStream()
           
 java.io.InputStream getInputStream()
           
 java.io.OutputStream getOutputStream()
           
 void interrupt(org.eclipse.cdt.debug.mi.core.MIInferior inferior)
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIProcessAdapter

public MIProcessAdapter(java.lang.String[] args,
                        org.eclipse.core.runtime.IProgressMonitor monitor)
                 throws java.io.IOException
Throws:
java.io.IOException

MIProcessAdapter

public MIProcessAdapter(java.lang.String[] args,
                        int launchTimeout,
                        org.eclipse.core.runtime.IProgressMonitor monitor)
                 throws java.io.IOException
Throws:
java.io.IOException
Method Detail

canInterrupt

public boolean canInterrupt(org.eclipse.cdt.debug.mi.core.MIInferior inferior)
Specified by:
canInterrupt in interface org.eclipse.cdt.debug.mi.core.MIProcess

interrupt

public void interrupt(org.eclipse.cdt.debug.mi.core.MIInferior inferior)
Specified by:
interrupt in interface org.eclipse.cdt.debug.mi.core.MIProcess

exitValue

public int exitValue()
Specified by:
exitValue in interface org.eclipse.cdt.debug.mi.core.MIProcess

waitFor

public int waitFor()
            throws java.lang.InterruptedException
Specified by:
waitFor in interface org.eclipse.cdt.debug.mi.core.MIProcess
Throws:
java.lang.InterruptedException

destroy

public void destroy()
Specified by:
destroy in interface org.eclipse.cdt.debug.mi.core.MIProcess

getErrorStream

public java.io.InputStream getErrorStream()
Specified by:
getErrorStream in interface org.eclipse.cdt.debug.mi.core.MIProcess

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface org.eclipse.cdt.debug.mi.core.MIProcess

getOutputStream

public java.io.OutputStream getOutputStream()
Specified by:
getOutputStream in interface org.eclipse.cdt.debug.mi.core.MIProcess