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, setTLVValueLength
public LinkID()
public LinkID(byte[] bytes, int offset) throws MalformedOSPFSubTLVException
bytes
- offset
- MalformedOSPFSubTLVException
public void encode()
encode
in class OSPFSubTLV
protected void decode() throws MalformedOSPFSubTLVException
decode
in class OSPFSubTLV
MalformedOSPFSubTLVException
public Inet4Address getLinkID()
public void setLinkID(Inet4Address linkID)
public boolean equals(Object obj)
equals
in class OSPFSubTLV
Copyright © 2016. All rights reserved.