Package org.apache.sshd.client.session
Enum ClientSession.ClientSessionEvent
- java.lang.Object
-
- java.lang.Enum<ClientSession.ClientSessionEvent>
-
- org.apache.sshd.client.session.ClientSession.ClientSessionEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<ClientSession.ClientSessionEvent>
- Enclosing interface:
- ClientSession
public static enum ClientSession.ClientSessionEvent extends Enum<ClientSession.ClientSessionEvent>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientSession.ClientSessionEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static ClientSession.ClientSessionEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TIMEOUT
public static final ClientSession.ClientSessionEvent TIMEOUT
-
CLOSED
public static final ClientSession.ClientSessionEvent CLOSED
-
WAIT_AUTH
public static final ClientSession.ClientSessionEvent WAIT_AUTH
-
AUTHED
public static final ClientSession.ClientSessionEvent AUTHED
-
-
Method Detail
-
values
public static ClientSession.ClientSessionEvent[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientSession.ClientSessionEvent c : ClientSession.ClientSessionEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientSession.ClientSessionEvent valueOf(String name)
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
-
-