Package org.eclipse.debug.core.model
Interface IStreamsProxy
-
- All Known Subinterfaces:
IStreamsProxy2
public interface IStreamsProxyA streams proxy acts as proxy between the streams of a process and interested clients. This abstraction allows implementations ofIProcessto handle I/O related to the standard input, output, and error streams associated with a process.Clients implementing the
IProcessinterface must also provide an implementation of this interface.- See Also:
IProcess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStreamMonitorgetErrorStreamMonitor()Returns a monitor for the error stream of this proxy's process, ornullif not supported.IStreamMonitorgetOutputStreamMonitor()Returns a monitor for the output stream of this proxy's process, ornullif not supported.voidwrite(String input)Writes the given text to the output stream connected to the standard input stream of this proxy's process.
-
-
-
Method Detail
-
getErrorStreamMonitor
IStreamMonitor getErrorStreamMonitor()
Returns a monitor for the error stream of this proxy's process, ornullif not supported. The monitor is connected to the error stream of the associated process.- Returns:
- an error stream monitor, or
nullif none
-
getOutputStreamMonitor
IStreamMonitor getOutputStreamMonitor()
Returns a monitor for the output stream of this proxy's process, ornullif not supported. The monitor is connected to the output stream of the associated process.- Returns:
- an output stream monitor, or
nullif none
-
write
void write(String input) throws IOException
Writes the given text to the output stream connected to the standard input stream of this proxy's process.- Parameters:
input- the text to be written- Throws:
IOException- when an error occurs writing to the underlyingOutputStream.
-
-