| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final int | |
| public boolean | Returns: true if new packet format encoding is usedReturn true, if this instance of a packet was encoded using the new packet format. |
| public boolean | Returns: true if the packet is critical, false otherwise.Returns whether the packet is to be considered critical for v6 implementations. |
| newPacketFormat | back to summary |
|---|---|
| private final boolean newPacketFormat | |
| packetTag | back to summary |
|---|---|
| private final int packetTag | |
| Packet | back to summary |
|---|---|
| public Packet() | |
| Packet | back to summary |
|---|---|
| pack-priv Packet(int packetTag) | |
| Packet | back to summary |
|---|---|
| pack-priv Packet(int packetTag, boolean newPacketFormat) | |
| getPacketTag | back to summary |
|---|---|
| public final int getPacketTag() Return the tag of the packet.
| |
| hasNewPacketFormat | back to summary |
|---|---|
| public boolean hasNewPacketFormat() Return true, if this instance of a packet was encoded using the new packet format. If the packet was encoded using the old legacy format, return false instead.
| |
| isCritical | back to summary |
|---|---|
| public boolean isCritical() Returns whether the packet is to be considered critical for v6 implementations. Packets with tags less or equal to 39 are critical. Tags 40 to 59 are reserved for unassigned, non-critical packets. Tags 60 to 63 are non-critical private or experimental packets.
| |