|
RSE Release 1.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
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()
Process.destroy()public int exitValue()
public InputStream getErrorStream()
Process.getErrorStream()public InputStream getInputStream()
Process.getInputStream()public OutputStream getOutputStream()
Process.getOutputStream()
public int waitFor()
throws InterruptedException
InterruptedExceptionProcess.waitFor()public void shellOutputChanged(IHostShellChangeEvent event)
shellOutputChanged in interface IHostShellOutputListenerIHostShellOutputListener.shellOutputChanged(org.eclipse.rse.services.shells.IHostShellChangeEvent)
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||