|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jolsrv2.data.TlvBlock
public class TlvBlock
The class implements the TLV block, as specified in OLSRv2.
Constructor Summary | |
---|---|
TlvBlock()
Empty constructor |
|
TlvBlock(java.util.ArrayList<Tlv> tlvs)
Constructor |
Method Summary | |
---|---|
void |
add(Tlv tlv)
Adds a TLV to the TLV block |
byte[] |
getBytes()
Returns the bytes of the TLV block |
java.util.ArrayList<Tlv> |
getTlvs()
Returns the TLVs in the TLV block |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TlvBlock()
public TlvBlock(java.util.ArrayList<Tlv> tlvs)
tlvs
- the TLVs to be put in the TLV blockMethod Detail |
---|
public void add(Tlv tlv)
tlv
- the TLVpublic java.util.ArrayList<Tlv> getTlvs()
public byte[] getBytes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |