org.norther.tammi.spray.connector.chain
Enum Connection.Status

java.lang.Object
  extended by java.lang.Enum<Connection.Status>
      extended by org.norther.tammi.spray.connector.chain.Connection.Status
All Implemented Interfaces:
Serializable, Comparable<Connection.Status>
Enclosing interface:
Connection

public static enum Connection.Status
extends Enum<Connection.Status>

The connection status.


Enum Constant Summary
BUSY
          Busy status.
DONE
          Done status.
IDLE
          Idle status.
IN_QUEUE
          In queue status.
INITIAL
          Initialized status.
 
Method Summary
static Connection.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Connection.Status[] 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

INITIAL

public static final Connection.Status INITIAL
Initialized status.


DONE

public static final Connection.Status DONE
Done status.


IN_QUEUE

public static final Connection.Status IN_QUEUE
In queue status.


BUSY

public static final Connection.Status BUSY
Busy status.


IDLE

public static final Connection.Status IDLE
Idle status.

Method Detail

values

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

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

valueOf

public static Connection.Status 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 © 2004 The Norther Organization. All rights reserved.