org.apache.sshd.client.session
Enum ClientSessionImpl.State

java.lang.Object
  extended by java.lang.Enum<ClientSessionImpl.State>
      extended by 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>


Enum Constant Summary
AuthRequestSent
           
Kex
           
ReceiveKexInit
           
ReceiveNewKeys
           
Running
           
Unknown
           
UserAuth
           
WaitForAuth
           
 
Method Summary
static ClientSessionImpl.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClientSessionImpl.State[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.