public static enum ConnectionContext.CONNECTION_STATE extends Enum<ConnectionContext.CONNECTION_STATE>
Enum Constant and 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.
|
Modifier and Type | Method and 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.
|
public static final ConnectionContext.CONNECTION_STATE HANDSHAKING
public static final ConnectionContext.CONNECTION_STATE WORKING
public static final ConnectionContext.CONNECTION_STATE TIMEOUTING
public static final ConnectionContext.CONNECTION_STATE RIP
public static ConnectionContext.CONNECTION_STATE[] values()
for (ConnectionContext.CONNECTION_STATE c : ConnectionContext.CONNECTION_STATE.values()) System.out.println(c);
public static ConnectionContext.CONNECTION_STATE valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 OpenDaylight. All rights reserved.