public class LocalSlaveStreamHandler extends Object implements org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Constructor and Description |
---|
LocalSlaveStreamHandler(com.google.common.eventbus.EventBus eventBus,
ClassLoader classLoader,
PrintStream warnStream,
InputStream eventStream,
OutputStream sysout,
OutputStream syserr,
long heartbeat,
RandomAccessFile streamsBuffer) |
Modifier and Type | Method and Description |
---|---|
void |
setProcessErrorStream(InputStream is) |
void |
setProcessInputStream(OutputStream os) |
void |
setProcessOutputStream(InputStream is) |
void |
start() |
void |
stop() |
public LocalSlaveStreamHandler(com.google.common.eventbus.EventBus eventBus, ClassLoader classLoader, PrintStream warnStream, InputStream eventStream, OutputStream sysout, OutputStream syserr, long heartbeat, RandomAccessFile streamsBuffer)
public void setProcessErrorStream(InputStream is) throws IOException
setProcessErrorStream
in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
IOException
public void setProcessOutputStream(InputStream is) throws IOException
setProcessOutputStream
in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
IOException
public void setProcessInputStream(OutputStream os) throws IOException
setProcessInputStream
in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
IOException
public void start() throws IOException
start
in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
IOException
public void stop()
stop
in interface org.apache.tools.ant.taskdefs.ExecuteStreamHandler
Copyright © 2011–2015 Carrot Search s.c.. All rights reserved.