public enum OFPort extends Enum<OFPort>
Enum Constant and Description |
---|
OFPP_ALL |
OFPP_CONTROLLER |
OFPP_FLOOD |
OFPP_IN_PORT |
OFPP_LOCAL |
OFPP_MAX |
OFPP_NONE |
OFPP_NORMAL |
OFPP_TABLE |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
short |
getValue() |
static OFPort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFPort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFPort OFPP_MAX
public static final OFPort OFPP_IN_PORT
public static final OFPort OFPP_TABLE
public static final OFPort OFPP_NORMAL
public static final OFPort OFPP_FLOOD
public static final OFPort OFPP_ALL
public static final OFPort OFPP_CONTROLLER
public static final OFPort OFPP_LOCAL
public static final OFPort OFPP_NONE
public static OFPort[] values()
for (OFPort c : OFPort.values()) System.out.println(c);
public static OFPort 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 short getValue()
Copyright © 2015. All rights reserved.