|
RSE Release 3.3 |
|||||||||
| 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. |
java.io.InputStream |
getErrorStream()
Returns the error stream of the shell. |
java.io.InputStream |
getInputStream()
Returns the input stream for the shell. |
java.io.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 java.io.IOException
hostShell - An instance of the IHostShell class.
java.io.IOException| Method Detail |
|---|
public void destroy()
destroy in class java.lang.ProcessProcess.destroy()public int exitValue()
exitValue in class java.lang.Processpublic java.io.InputStream getErrorStream()
getErrorStream in class java.lang.ProcessProcess.getErrorStream()public java.io.InputStream getInputStream()
getInputStream in class java.lang.ProcessProcess.getInputStream()public java.io.OutputStream getOutputStream()
getOutputStream in class java.lang.ProcessProcess.getOutputStream()
public int waitFor()
throws java.lang.InterruptedException
waitFor in class java.lang.Processjava.lang.InterruptedExceptionProcess.waitFor()public void shellOutputChanged(IHostShellChangeEvent event)
shellOutputChanged in interface IHostShellOutputListenerIHostShellOutputListener.shellOutputChanged(org.eclipse.rse.services.shells.IHostShellChangeEvent)
|
RSE Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||