|
Ganymed SSH-2 for Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelCondition
Contains constants that can be used to specify what conditions to wait for on
a SSH-2 channel (e.g., represented by a Session
).
Session.waitForCondition(int, long)
Field Summary | |
---|---|
static int |
CLOSED
The underlying SSH-2 channel, however not necessarily the whole connection, has been closed. |
static int |
EOF
EOF on has been reached, no more _new_ stdout or stderr data will arrive from the remote server. |
static int |
EXIT_SIGNAL
The exit signal of the remote process is available. |
static int |
EXIT_STATUS
The exit status of the remote process is available. |
static int |
STDERR_DATA
There is stderr data available that is ready to be consumed. |
static int |
STDOUT_DATA
There is stdout data available that is ready to be consumed. |
static int |
TIMEOUT
A timeout has occurred, none of your requested conditions is fulfilled. |
Field Detail |
---|
static final int TIMEOUT
((cond & ChannelCondition.CLOSED) != 0)
.
static final int CLOSED
EOF
. Note that there may still
be unread stdout or stderr data in the local window, i.e, STDOUT_DATA
or/and STDERR_DATA
may be set at the same time.
static final int STDOUT_DATA
static final int STDERR_DATA
static final int EOF
STDOUT_DATA
or/and STDERR_DATA
may be set at the same time.
static final int EXIT_STATUS
static final int EXIT_SIGNAL
|
Ganymed SSH-2 for Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |