public final class LlcControlSupervisory extends Object implements LlcPacket.LlcControl
0 1 2 3 4 5 6 7
+-----+-----+-----+-----+-----+-----+-----+-----+
| receive sequence number | P/F |
| | |
+-----+-----+-----+-----+-----+-----+-----+-----+
| reserved |supervisory| 0 | 1 |
| | func bits | | |
+-----+-----+-----+-----+-----+-----+-----+-----+
Modifier and Type | Class and Description |
---|---|
static class |
LlcControlSupervisory.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
LlcControlSupervisory.Builder |
getBuilder() |
LlcControlSupervisoryFunction |
getLlcSupervisoryFunction() |
boolean |
getPfBit() |
byte[] |
getRawData() |
byte |
getReceiveSequenceNumber() |
int |
getReceiveSequenceNumberAsInt() |
byte |
getReserved() |
int |
hashCode() |
int |
length() |
static LlcControlSupervisory |
newInstance(short value) |
String |
toString() |
public static LlcControlSupervisory newInstance(short value) throws IllegalRawDataException
value
- valueIllegalRawDataException
- if parsing the value fails.public byte getReceiveSequenceNumber()
public int getReceiveSequenceNumberAsInt()
public boolean getPfBit()
public byte getReserved()
public LlcControlSupervisoryFunction getLlcSupervisoryFunction()
public int length()
length
in interface LlcPacket.LlcControl
public byte[] getRawData()
getRawData
in interface LlcPacket.LlcControl
public LlcControlSupervisory.Builder getBuilder()
Copyright © 2011–2018 Pcap4J.org. All rights reserved.