public static enum Ethernet.VlanPriority extends Enum<Ethernet.VlanPriority> implements ProtocolEnum
| Enum Constant and Description |
|---|
PRIORITY_0
Background priority (level 0 - lowest).
|
PRIORITY_1
Best effort priority (level 1 - normal).
|
PRIORITY_2
Excellent effort priority (level 2).
|
PRIORITY_3
Critical application priority (level 3).
|
PRIORITY_4
Video priority (level 4).
|
PRIORITY_5
Voice priority (level 5).
|
PRIORITY_6
Inter-network control priority (level 6).
|
PRIORITY_7
Network control priority (level 7 - highest).
|
| Modifier and Type | Method and Description |
|---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static Ethernet.VlanPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ethernet.VlanPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ethernet.VlanPriority PRIORITY_0
public static final Ethernet.VlanPriority PRIORITY_1
public static final Ethernet.VlanPriority PRIORITY_2
public static final Ethernet.VlanPriority PRIORITY_3
public static final Ethernet.VlanPriority PRIORITY_4
public static final Ethernet.VlanPriority PRIORITY_5
public static final Ethernet.VlanPriority PRIORITY_6
public static final Ethernet.VlanPriority PRIORITY_7
public static Ethernet.VlanPriority[] values()
for (Ethernet.VlanPriority c : Ethernet.VlanPriority.values()) System.out.println(c);
public static Ethernet.VlanPriority 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 code()
ProtocolEnumcode in interface ProtocolEnumCopyright © 2014. All Rights Reserved.