public static enum OFPhysicalPort.OFPortState extends Enum<OFPhysicalPort.OFPortState>
| Enum Constant and Description |
|---|
OFPPS_LINK_DOWN |
OFPPS_STP_BLOCK |
OFPPS_STP_FORWARD |
OFPPS_STP_LEARN |
OFPPS_STP_LISTEN |
OFPPS_STP_MASK |
| Modifier and Type | Field and Description |
|---|---|
protected int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static OFPhysicalPort.OFPortState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFPhysicalPort.OFPortState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFPhysicalPort.OFPortState OFPPS_LINK_DOWN
public static final OFPhysicalPort.OFPortState OFPPS_STP_LISTEN
public static final OFPhysicalPort.OFPortState OFPPS_STP_LEARN
public static final OFPhysicalPort.OFPortState OFPPS_STP_FORWARD
public static final OFPhysicalPort.OFPortState OFPPS_STP_BLOCK
public static final OFPhysicalPort.OFPortState OFPPS_STP_MASK
public static OFPhysicalPort.OFPortState[] values()
for (OFPhysicalPort.OFPortState c : OFPhysicalPort.OFPortState.values()) System.out.println(c);
public static OFPhysicalPort.OFPortState 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 getValue()
Copyright © 2015. All rights reserved.