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