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