Package org.apache.sshd.client.channel
Enum ClientChannelEvent
- All Implemented Interfaces:
Serializable
,Comparable<ClientChannelEvent>
,java.lang.constant.Constable
Various events used by
ClientChannel.waitFor(java.util.Collection, long)
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionChannel has been marked as closedReceived EOF signal from remote peerReceived exit signal from remote peerReceived exit status from remote peerChannel has been successfully openedReceived STDERR (a.k.a.Received STDOUT (a.k.a.Timeout while waiting for other events - Note: meaningful only as a member of the returned events -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientChannelEvent
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.
-
Enum Constant Details
-
TIMEOUT
Timeout while waiting for other events - Note: meaningful only as a member of the returned events -
CLOSED
Channel has been marked as closed -
STDOUT_DATA
Received STDOUT (a.k.a. channel) data -
STDERR_DATA
Received STDERR (a.k.a. extended) data -
EOF
Received EOF signal from remote peer -
EXIT_STATUS
Received exit status from remote peer- See Also:
-
EXIT_SIGNAL
Received exit signal from remote peer- See Also:
-
OPENED
Channel has been successfully opened
-
-
Field Details
-
VALUES
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-