public class LLDPTLV
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected short |
length |
protected byte |
type |
protected byte[] |
value |
| Constructor and Description |
|---|
LLDPTLV() |
| Modifier and Type | Method and Description |
|---|---|
LLDPTLV |
deserialize(java.nio.ByteBuffer bb) |
boolean |
equals(java.lang.Object obj) |
short |
getLength() |
byte |
getType() |
byte[] |
getValue() |
int |
hashCode() |
byte[] |
serialize() |
LLDPTLV |
setLength(short length) |
LLDPTLV |
setType(byte type) |
LLDPTLV |
setValue(byte[] value) |
public byte getType()
public LLDPTLV setType(byte type)
type - the type to setpublic short getLength()
public LLDPTLV setLength(short length)
length - the length to setpublic byte[] getValue()
public LLDPTLV setValue(byte[] value)
value - the value to setpublic byte[] serialize()
public LLDPTLV deserialize(java.nio.ByteBuffer bb)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object