public static enum MockOpenflowSwitch.HelloMode extends Enum<MockOpenflowSwitch.HelloMode>
Enum Constant and Description |
---|
DEFAULT
The default behavior.
|
NOT_10_RETURN_OFM_ERROR
Return an error and disconnect.
|
NOT_8_BYTES_NO_RESPONSE
Do nothing (don't disconnect).
|
Modifier and Type | Method and Description |
---|---|
static MockOpenflowSwitch.HelloMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MockOpenflowSwitch.HelloMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MockOpenflowSwitch.HelloMode DEFAULT
public static final MockOpenflowSwitch.HelloMode NOT_10_RETURN_OFM_ERROR
public static final MockOpenflowSwitch.HelloMode NOT_8_BYTES_NO_RESPONSE
public static MockOpenflowSwitch.HelloMode[] values()
for (MockOpenflowSwitch.HelloMode c : MockOpenflowSwitch.HelloMode.values()) System.out.println(c);
public static MockOpenflowSwitch.HelloMode 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 © 2016. All Rights Reserved.