Enum ConnectionContext.CONNECTION_STATE
- java.lang.Object
-
- java.lang.Enum<ConnectionContext.CONNECTION_STATE>
-
- org.opendaylight.openflowplugin.api.openflow.connection.ConnectionContext.CONNECTION_STATE
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionContext.CONNECTION_STATE>
- Enclosing interface:
- ConnectionContext
public static enum ConnectionContext.CONNECTION_STATE extends Enum<ConnectionContext.CONNECTION_STATE>
Distinguished connection states.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HANDSHAKING
initial phase of talking to switch.RIP
talking to switch is over - resting in pieces.TIMEOUTING
connection is idle, waiting for echo reply from switch.WORKING
standard phase - interacting with switch.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectionContext.CONNECTION_STATE
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectionContext.CONNECTION_STATE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HANDSHAKING
public static final ConnectionContext.CONNECTION_STATE HANDSHAKING
initial phase of talking to switch.
-
WORKING
public static final ConnectionContext.CONNECTION_STATE WORKING
standard phase - interacting with switch.
-
TIMEOUTING
public static final ConnectionContext.CONNECTION_STATE TIMEOUTING
connection is idle, waiting for echo reply from switch.
-
RIP
public static final ConnectionContext.CONNECTION_STATE RIP
talking to switch is over - resting in pieces.
-
-
Method Detail
-
values
public static ConnectionContext.CONNECTION_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 (ConnectionContext.CONNECTION_STATE c : ConnectionContext.CONNECTION_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 ConnectionContext.CONNECTION_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 nameNullPointerException
- if the argument is null
-
-