|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.floodlightcontroller.packet.LLDPTLV
net.floodlightcontroller.packet.LLDPOrganizationalTLV
public class LLDPOrganizationalTLV
The class representing LLDP Organizationally Specific TLV.
| Field Summary | |
|---|---|
static int |
MAX_INFOSTRING_LENGTH
|
static byte |
ORGANIZATIONAL_TLV_TYPE
|
protected byte[] |
oui
|
static int |
OUI_LENGTH
|
protected byte |
subType
|
static int |
SUBTYPE_LENGTH
|
| Fields inherited from class net.floodlightcontroller.packet.LLDPTLV |
|---|
length, type, value |
| Constructor Summary | |
|---|---|
LLDPOrganizationalTLV()
|
|
| Method Summary | |
|---|---|
LLDPTLV |
deserialize(java.nio.ByteBuffer bb)
|
boolean |
equals(java.lang.Object obj)
|
byte[] |
getInfoString()
Returns the value of information string. |
byte[] |
getOUI()
Returns the value of the OUI. |
byte |
getSubType()
Returns the value of the sub type. |
int |
hashCode()
|
byte[] |
serialize()
|
LLDPOrganizationalTLV |
setInfoString(byte[] infoString)
Set the value of information string. |
LLDPOrganizationalTLV |
setInfoString(java.lang.String infoString)
Set the value of information string. |
LLDPOrganizationalTLV |
setOUI(byte[] oui)
Set the value of OUI. |
LLDPOrganizationalTLV |
setSubType(byte subType)
Set the value of sub type. |
| Methods inherited from class net.floodlightcontroller.packet.LLDPTLV |
|---|
getLength, getType, getValue, setLength, setType, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int OUI_LENGTH
public static final int SUBTYPE_LENGTH
public static final byte ORGANIZATIONAL_TLV_TYPE
public static final int MAX_INFOSTRING_LENGTH
protected byte[] oui
protected byte subType
| Constructor Detail |
|---|
public LLDPOrganizationalTLV()
| Method Detail |
|---|
public LLDPOrganizationalTLV setOUI(byte[] oui)
oui - The value of OUI to be set.
public byte[] getOUI()
public LLDPOrganizationalTLV setSubType(byte subType)
subType - The value of sub type to be set.
public byte getSubType()
public LLDPOrganizationalTLV setInfoString(byte[] infoString)
infoString - the byte array of the value of information string.
public LLDPOrganizationalTLV setInfoString(java.lang.String infoString)
infoString - the String value of information string.
public byte[] getInfoString()
public byte[] serialize()
serialize in class LLDPTLVpublic LLDPTLV deserialize(java.nio.ByteBuffer bb)
deserialize in class LLDPTLVpublic int hashCode()
hashCode in class LLDPTLVpublic boolean equals(java.lang.Object obj)
equals in class LLDPTLV
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||