public static enum OFPhysicalPort.OFPortConfig extends Enum<OFPhysicalPort.OFPortConfig>
Enum Constant and Description |
---|
OFPPC_NO_FLOOD |
OFPPC_NO_FWD |
OFPPC_NO_PACKET_IN |
OFPPC_NO_RECV |
OFPPC_NO_RECV_STP |
OFPPC_NO_STP |
OFPPC_PORT_DOWN |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static OFPhysicalPort.OFPortConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFPhysicalPort.OFPortConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFPhysicalPort.OFPortConfig OFPPC_PORT_DOWN
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_STP
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_RECV
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_RECV_STP
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_FLOOD
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_FWD
public static final OFPhysicalPort.OFPortConfig OFPPC_NO_PACKET_IN
public static OFPhysicalPort.OFPortConfig[] values()
for (OFPhysicalPort.OFPortConfig c : OFPhysicalPort.OFPortConfig.values()) System.out.println(c);
public static OFPhysicalPort.OFPortConfig 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.