public class LinkID extends OSPFSubTLV
log, tlv_bytes, TLVType, TotalTLVLength| Constructor and Description |
|---|
LinkID()
Default constructor
|
LinkID(byte[] bytes,
int offset) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode()
Decode the linkID OSPFv2 sub-TLV
|
void |
encode() |
boolean |
equals(Object obj) |
Inet4Address |
getLinkID() |
void |
setLinkID(Inet4Address linkID) |
String |
toString() |
encodeHeader, getTlv_bytes, getTLVLength, getTLVType, getTLVValueLength, getTotalTLVLength, getTotalTLVLength, getType, hashCode, setTlv_bytes, setTLVType, setTLVValueLengthpublic LinkID()
public LinkID(byte[] bytes,
int offset)
throws MalformedOSPFSubTLVException
bytes - offset - MalformedOSPFSubTLVExceptionpublic void encode()
encode in class OSPFSubTLVprotected void decode()
throws MalformedOSPFSubTLVException
decode in class OSPFSubTLVMalformedOSPFSubTLVExceptionpublic Inet4Address getLinkID()
public void setLinkID(Inet4Address linkID)
public boolean equals(Object obj)
equals in class OSPFSubTLVCopyright © 2016. All rights reserved.