public static enum EthernetFramer.EtherType extends Enum<EthernetFramer.EtherType>
| Enum Constant and Description |
|---|
ARP |
Dot1Q |
EAPOL |
IPv4 |
IPv6 |
LLDP |
None |
| Modifier and Type | Method and Description |
|---|---|
byte |
getB1() |
byte |
getB2() |
static EthernetFramer.EtherType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EthernetFramer.EtherType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(OutputStream out) |
public static final EthernetFramer.EtherType IPv4
public static final EthernetFramer.EtherType ARP
public static final EthernetFramer.EtherType IPv6
public static final EthernetFramer.EtherType LLDP
public static final EthernetFramer.EtherType EAPOL
public static final EthernetFramer.EtherType None
public static final EthernetFramer.EtherType Dot1Q
public static EthernetFramer.EtherType[] values()
for (EthernetFramer.EtherType c : EthernetFramer.EtherType.values()) System.out.println(c);
public static EthernetFramer.EtherType 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 byte getB1()
public byte getB2()
public void write(OutputStream out) throws IOException
IOExceptionCopyright © 2021. All Rights Reserved.