public interface ClientChannel
Modifier and Type | Field and Description |
---|---|
static String |
CHANNEL_EXEC |
static String |
CHANNEL_SHELL |
static String |
CHANNEL_SUBSYSTEM |
static int |
CLOSED |
static int |
EOF |
static int |
EXIT_SIGNAL |
static int |
EXIT_STATUS |
static int |
OPENED |
static int |
STDERR_DATA |
static int |
STDOUT_DATA |
static int |
TIMEOUT |
Modifier and Type | Method and Description |
---|---|
CloseFuture |
close(boolean immediately) |
Integer |
getExitStatus() |
OpenFuture |
open() |
void |
setErr(OutputStream err) |
void |
setIn(InputStream in) |
void |
setOut(OutputStream out) |
int |
waitFor(int mask,
long timeout) |
static final String CHANNEL_EXEC
static final String CHANNEL_SHELL
static final String CHANNEL_SUBSYSTEM
static final int TIMEOUT
static final int CLOSED
static final int STDOUT_DATA
static final int STDERR_DATA
static final int EOF
static final int EXIT_STATUS
static final int EXIT_SIGNAL
static final int OPENED
void setIn(InputStream in)
void setOut(OutputStream out)
void setErr(OutputStream err)
OpenFuture open() throws Exception
Exception
int waitFor(int mask, long timeout)
CloseFuture close(boolean immediately)
Integer getExitStatus()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.