Package com.iizix.comm
Enum IPortController.State
- java.lang.Object
-
- java.lang.Enum<IPortController.State>
-
- com.iizix.comm.IPortController.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IPortController.State>
- Enclosing interface:
- IPortController
public static enum IPortController.State extends java.lang.Enum<IPortController.State>
The state enumeration of the connector.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPortController.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IPortController.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIALIZED
public static final IPortController.State UNINITIALIZED
-
STARTING
public static final IPortController.State STARTING
-
STARTED
public static final IPortController.State STARTED
-
OPEN
public static final IPortController.State OPEN
-
STOPPING
public static final IPortController.State STOPPING
-
STOPPED
public static final IPortController.State STOPPED
-
CLOSED
public static final IPortController.State CLOSED
-
FAILED
public static final IPortController.State FAILED
-
UNKNOWN
public static final IPortController.State UNKNOWN
-
-
Method Detail
-
values
public static IPortController.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 (IPortController.State c : IPortController.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 IPortController.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
-
-