Package com.iizix.comm.statistics
Enum SessionConnectionStatistics.State
- java.lang.Object
- java.lang.Enum<SessionConnectionStatistics.State>
- com.iizix.comm.statistics.SessionConnectionStatistics.State
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SessionConnectionStatistics.State>
- Enclosing class:
- SessionConnectionStatistics
public static enum SessionConnectionStatistics.State extends java.lang.Enum<SessionConnectionStatistics.State>
States.
Enum Constant Summary
Enum Constants Enum Constant Description BROKEN
CLOSING
CONNECTED
DISPOSED
DISPOSED_ABORT
INITIALIZING
PAUSED
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionConnectionStatistics.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SessionConnectionStatistics.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
INITIALIZING
public static final SessionConnectionStatistics.State INITIALIZING
CONNECTED
public static final SessionConnectionStatistics.State CONNECTED
PAUSED
public static final SessionConnectionStatistics.State PAUSED
BROKEN
public static final SessionConnectionStatistics.State BROKEN
CLOSING
public static final SessionConnectionStatistics.State CLOSING
DISPOSED
public static final SessionConnectionStatistics.State DISPOSED
DISPOSED_ABORT
public static final SessionConnectionStatistics.State DISPOSED_ABORT
Method Detail
values
public static SessionConnectionStatistics.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 (SessionConnectionStatistics.State c : SessionConnectionStatistics.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 SessionConnectionStatistics.State 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 namejava.lang.NullPointerException
- if the argument is null