public static enum OFPhysicalPort.OFPortFeatures extends Enum<OFPhysicalPort.OFPortFeatures>
Enum Constant and Description |
---|
OFPPF_100MB_FD |
OFPPF_100MB_HD |
OFPPF_10GB_FD |
OFPPF_10MB_FD |
OFPPF_10MB_HD |
OFPPF_1GB_FD |
OFPPF_1GB_HD |
OFPPF_AUTONEG |
OFPPF_COPPER |
OFPPF_FIBER |
OFPPF_PAUSE |
OFPPF_PAUSE_ASYM |
Modifier and Type | Field and Description |
---|---|
protected int |
value |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static OFPhysicalPort.OFPortFeatures |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OFPhysicalPort.OFPortFeatures[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OFPhysicalPort.OFPortFeatures OFPPF_10MB_HD
public static final OFPhysicalPort.OFPortFeatures OFPPF_10MB_FD
public static final OFPhysicalPort.OFPortFeatures OFPPF_100MB_HD
public static final OFPhysicalPort.OFPortFeatures OFPPF_100MB_FD
public static final OFPhysicalPort.OFPortFeatures OFPPF_1GB_HD
public static final OFPhysicalPort.OFPortFeatures OFPPF_1GB_FD
public static final OFPhysicalPort.OFPortFeatures OFPPF_10GB_FD
public static final OFPhysicalPort.OFPortFeatures OFPPF_COPPER
public static final OFPhysicalPort.OFPortFeatures OFPPF_FIBER
public static final OFPhysicalPort.OFPortFeatures OFPPF_AUTONEG
public static final OFPhysicalPort.OFPortFeatures OFPPF_PAUSE
public static final OFPhysicalPort.OFPortFeatures OFPPF_PAUSE_ASYM
public static OFPhysicalPort.OFPortFeatures[] values()
for (OFPhysicalPort.OFPortFeatures c : OFPhysicalPort.OFPortFeatures.values()) System.out.println(c);
public static OFPhysicalPort.OFPortFeatures 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.