public enum ClientChannelEvent extends java.lang.Enum<ClientChannelEvent>
ClientChannel.waitFor(java.util.Collection, long)| Enum Constant and Description |
|---|
CLOSED
Channel has been marked as closed
|
EOF
Received EOF signal from remote peer
|
EXIT_SIGNAL
Received exit signal from remote peer
|
EXIT_STATUS
Received exit status from remote peer
|
OPENED
Channel has been successfully opened
|
STDERR_DATA
Received STDERR (a.k.a.
|
STDOUT_DATA
Received STDOUT (a.k.a.
|
TIMEOUT
Timeout while waiting for other events - Note: meaningful only
as a member of the returned events
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Set<ClientChannelEvent> |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static ClientChannelEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientChannelEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientChannelEvent TIMEOUT
public static final ClientChannelEvent CLOSED
public static final ClientChannelEvent STDOUT_DATA
public static final ClientChannelEvent STDERR_DATA
public static final ClientChannelEvent EOF
public static final ClientChannelEvent EXIT_STATUS
ClientChannel.getExitStatus()public static final ClientChannelEvent EXIT_SIGNAL
ClientChannel.getExitSignal()public static final ClientChannelEvent OPENED
public static final java.util.Set<ClientChannelEvent> VALUES
public static ClientChannelEvent[] values()
for (ClientChannelEvent c : ClientChannelEvent.values()) System.out.println(c);
public static ClientChannelEvent valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null