com.millistream.www
Enum Callback.StatusCode

java.lang.Object
  extended by java.lang.Enum<Callback.StatusCode>
      extended by com.millistream.www.Callback.StatusCode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Callback.StatusCode>
Enclosing interface:
Callback

public static enum Callback.StatusCode
extends java.lang.Enum<Callback.StatusCode>

Defines the various connection states


Enum Constant Summary
CONNECTED
          Connected with the server, establishing a secure channel
CONNECTING
          Trying to connect with the server
DISCONNECTED
          Disconnected from the server
LOOKUP
          Performing DNS lookup of the host name
READYTOLOGON
          The secure channel with the server is established and you can now send the logon message
 
Method Summary
static Callback.StatusCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Callback.StatusCode[] 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

LOOKUP

public static final Callback.StatusCode LOOKUP
Performing DNS lookup of the host name


CONNECTING

public static final Callback.StatusCode CONNECTING
Trying to connect with the server


CONNECTED

public static final Callback.StatusCode CONNECTED
Connected with the server, establishing a secure channel


DISCONNECTED

public static final Callback.StatusCode DISCONNECTED
Disconnected from the server


READYTOLOGON

public static final Callback.StatusCode READYTOLOGON
The secure channel with the server is established and you can now send the logon message

Method Detail

values

public static Callback.StatusCode[] 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 (Callback.StatusCode c : Callback.StatusCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Callback.StatusCode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null