|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Process
org.eclipse.rse.services.shells.HostShellProcessAdapter
public class HostShellProcessAdapter
This class represents a host shell process. It does not represent one process running in the shell. This means that the output of multiple shell commands will be returned until the shell exits.
Constructor Summary | |
---|---|
HostShellProcessAdapter(IHostShell hostShell)
Constructor. |
Method Summary | |
---|---|
void |
destroy()
Exits the shell. |
int |
exitValue()
There is no relevant exit value to return when the shell exits. |
InputStream |
getErrorStream()
Returns the error stream of the shell. |
InputStream |
getInputStream()
Returns the input stream for the shell. |
OutputStream |
getOutputStream()
Returns the output stream for the shell. |
void |
shellOutputChanged(IHostShellChangeEvent event)
Process an RSE Shell event, by writing the lines of text contained in the event into the adapter's streams. |
int |
waitFor()
Waits for the shell to exit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostShellProcessAdapter(IHostShell hostShell) throws IOException
hostShell
- An instance of the IHostShell class.
IOException
Method Detail |
---|
public void destroy()
destroy
in class Process
Process.destroy()
public int exitValue()
exitValue
in class Process
public InputStream getErrorStream()
getErrorStream
in class Process
Process.getErrorStream()
public InputStream getInputStream()
getInputStream
in class Process
Process.getInputStream()
public OutputStream getOutputStream()
getOutputStream
in class Process
Process.getOutputStream()
public int waitFor() throws InterruptedException
waitFor
in class Process
InterruptedException
Process.waitFor()
public void shellOutputChanged(IHostShellChangeEvent event)
shellOutputChanged
in interface IHostShellOutputListener
IHostShellOutputListener.shellOutputChanged(org.eclipse.rse.services.shells.IHostShellChangeEvent)
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |