public class NativeProcessMonitoringDaemonModule.MyExecuteStreamHandler
extends java.lang.Object
implements org.apache.commons.exec.ExecuteStreamHandler
Modifier and Type | Field and Description |
---|---|
(package private) java.io.InputStream |
ses |
(package private) java.io.OutputStream |
sis |
(package private) java.io.InputStream |
sos |
Constructor and Description |
---|
MyExecuteStreamHandler() |
Modifier and Type | Method and Description |
---|---|
void |
setProcessErrorStream(java.io.InputStream is) |
void |
setProcessInputStream(java.io.OutputStream os) |
void |
setProcessOutputStream(java.io.InputStream is) |
void |
start() |
void |
stop() |
public void stop()
stop
in interface org.apache.commons.exec.ExecuteStreamHandler
public void start() throws java.io.IOException
start
in interface org.apache.commons.exec.ExecuteStreamHandler
java.io.IOException
public void setProcessInputStream(java.io.OutputStream os) throws java.io.IOException
setProcessInputStream
in interface org.apache.commons.exec.ExecuteStreamHandler
java.io.IOException
public void setProcessErrorStream(java.io.InputStream is) throws java.io.IOException
setProcessErrorStream
in interface org.apache.commons.exec.ExecuteStreamHandler
java.io.IOException
public void setProcessOutputStream(java.io.InputStream is) throws java.io.IOException
setProcessOutputStream
in interface org.apache.commons.exec.ExecuteStreamHandler
java.io.IOException