public enum OFVersion extends Enum<OFVersion>
Modifier and Type | Field and Description |
---|---|
int |
wireVersion |
Modifier and Type | Method and Description |
---|---|
int |
getWireVersion() |
static OFVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFVersion OF_10
public static final OFVersion OF_11
public static final OFVersion OF_12
public static final OFVersion OF_13
public static final OFVersion OF_14
public static OFVersion[] values()
for (OFVersion c : OFVersion.values()) System.out.println(c);
public static OFVersion 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 getWireVersion()
Copyright © 2015. All rights reserved.