public enum Capability extends Enum<Capability> implements OfpBitmapEnum
Enum Constant and Description |
---|
ARP_MATCH_IP
Match IP addresses in ARP packets; Since 1.0; Removed at 1.2.
|
FLOW_STATS
Flow statistics; Since 1.0.
|
GROUP_STATS
Group statistics; Since 1.1.
|
IP_REASM
Can reassemble IP fragments; Since 1.0.
|
PORT_BLOCKED
Switch will block looping ports; Since 1.2.
|
PORT_STATS
Port statistics; Since 1.0.
|
QUEUE_STATS
Queue statistics; Since 1.0.
|
RESERVED
Reserved (must be zero); Since 1.0; Removed at 1.1.
|
STP
802.1d spanning tree; Since 1.0; Removed at 1.1.
|
TABLE_STATS
Table statistics; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
int |
getBit(ProtocolVersion pv)
Returns the bit value for the constant, under the given protocol
version.
|
String |
toDisplayString()
Returns a string representation of the constant, suitable for
presentation in a display.
|
String |
toString() |
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capability FLOW_STATS
public static final Capability TABLE_STATS
public static final Capability PORT_STATS
public static final Capability STP
public static final Capability GROUP_STATS
public static final Capability RESERVED
public static final Capability IP_REASM
public static final Capability QUEUE_STATS
public static final Capability ARP_MATCH_IP
public static final Capability PORT_BLOCKED
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability 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 getBit(ProtocolVersion pv)
OfpBitmapEnum
getBit
in interface OfpBitmapEnum
pv
- the protocol versionpublic String toString()
toString
in class Enum<Capability>
public String toDisplayString()
OfpBitmapEnum
toDisplayString
in interface OfpBitmapEnum
Copyright © 2015. All Rights Reserved.