public enum HeaderProtocol extends Enum<HeaderProtocol>
Enum Constant and Description |
---|
AAL5 |
AAL5_IP |
ETHERNET_ISO88023 |
FDDI |
FRAME_RELAY |
IEEE80211_AMPDU |
IEEE80211_AMSDU_Subframe |
IEEE80211MAC |
IPv4 |
IPv6 |
ISO88024_TOKENBUS |
ISO88025_TOKENRING |
MPLS |
POS |
PPP |
SMDS |
X25 |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static HeaderProtocol |
from(io.netty.buffer.ByteBuf buffer) |
String |
toString() |
static HeaderProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBson(org.bson.BsonWriter bsonWriter) |
public static final HeaderProtocol ETHERNET_ISO88023
public static final HeaderProtocol ISO88024_TOKENBUS
public static final HeaderProtocol ISO88025_TOKENRING
public static final HeaderProtocol FDDI
public static final HeaderProtocol FRAME_RELAY
public static final HeaderProtocol X25
public static final HeaderProtocol PPP
public static final HeaderProtocol SMDS
public static final HeaderProtocol AAL5
public static final HeaderProtocol AAL5_IP
public static final HeaderProtocol IPv4
public static final HeaderProtocol IPv6
public static final HeaderProtocol MPLS
public static final HeaderProtocol POS
public static final HeaderProtocol IEEE80211MAC
public static final HeaderProtocol IEEE80211_AMPDU
public static final HeaderProtocol IEEE80211_AMSDU_Subframe
public static HeaderProtocol[] values()
for (HeaderProtocol c : HeaderProtocol.values()) System.out.println(c);
public static HeaderProtocol 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 String toString()
toString
in class Enum<HeaderProtocol>
public static HeaderProtocol from(io.netty.buffer.ByteBuf buffer) throws InvalidPacketException
InvalidPacketException
public void writeBson(org.bson.BsonWriter bsonWriter)
Copyright © 2020. All rights reserved.