public static enum Ethernet.Dsap extends Enum<Ethernet.Dsap> implements ProtocolEnum
| Enum Constant and Description |
|---|
NO_DSAP
No destination service access point type.
|
SNAP
SNAP destination service access point type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
code()
Returns the code value for the enumeration constant.
|
static Ethernet.Dsap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ethernet.Dsap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ethernet.Dsap NO_DSAP
public static final Ethernet.Dsap SNAP
public static Ethernet.Dsap[] values()
for (Ethernet.Dsap c : Ethernet.Dsap.values()) System.out.println(c);
public static Ethernet.Dsap 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.