org.apache.sshd.client.session
Enum ClientSessionImpl.State
java.lang.Object
java.lang.Enum<ClientSessionImpl.State>
org.apache.sshd.client.session.ClientSessionImpl.State
- All Implemented Interfaces:
- Serializable, Comparable<ClientSessionImpl.State>
- Enclosing class:
- ClientSessionImpl
public static enum ClientSessionImpl.State
- extends Enum<ClientSessionImpl.State>
ReceiveKexInit
public static final ClientSessionImpl.State ReceiveKexInit
Kex
public static final ClientSessionImpl.State Kex
ReceiveNewKeys
public static final ClientSessionImpl.State ReceiveNewKeys
AuthRequestSent
public static final ClientSessionImpl.State AuthRequestSent
WaitForAuth
public static final ClientSessionImpl.State WaitForAuth
UserAuth
public static final ClientSessionImpl.State UserAuth
Running
public static final ClientSessionImpl.State Running
Unknown
public static final ClientSessionImpl.State Unknown
values
public static ClientSessionImpl.State[] 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 (ClientSessionImpl.State c : ClientSessionImpl.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ClientSessionImpl.State 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 name
NullPointerException
- if the argument is null
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.