public enum HelloElementType extends Enum<HelloElementType> implements OfpCodeBasedEnum
| Enum Constant and Description |
|---|
UNKNOWN
Designates any type code that is not defined in the spec.
|
VERSION_BITMAP
Bitmap of supported versions; Since 1.3.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode(ProtocolVersion pv)
Returns the code for the constant, under the given protocol
version.
|
static HelloElementType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HelloElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HelloElementType VERSION_BITMAP
public static final HelloElementType UNKNOWN
public static HelloElementType[] values()
for (HelloElementType c : HelloElementType.values()) System.out.println(c);
public static HelloElementType 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 nullpublic int getCode(ProtocolVersion pv)
OfpCodeBasedEnumgetCode in interface OfpCodeBasedEnumpv - the protocol versionCopyright © 2014. All Rights Reserved.