public class ExecChannel extends Object implements Closeable
close()
Constructor and Description |
---|
ExecChannel(OutputStream input,
InputStream output,
InputStream error,
com.google.common.base.Supplier<Integer> exitStatus,
Closeable closer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
closes resources associated with this channel.
|
InputStream |
getError() |
com.google.common.base.Supplier<Integer> |
getExitStatus() |
OutputStream |
getInput() |
InputStream |
getOutput() |
public ExecChannel(OutputStream input, InputStream output, InputStream error, com.google.common.base.Supplier<Integer> exitStatus, Closeable closer)
public OutputStream getInput()
stdin
stream.public InputStream getError()
stderr
stream.public InputStream getOutput()
stdout
stream.public com.google.common.base.Supplier<Integer> getExitStatus()
null
if this information
was not received.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2009-2013 jclouds. All Rights Reserved.