public class OSPFTEv2LSA extends OpaqueLSA
Constructor and Description |
---|
OSPFTEv2LSA()
Default constructor
|
OSPFTEv2LSA(byte[] bytes,
int offset)
Construct from a byte array and a given offest
|
Modifier and Type | Method and Description |
---|---|
void |
encode()
Encode the Inter AS TE v2 LSA
|
LinkTLV |
getLinkTLV() |
RouterAddressTLV |
getRouterAddressTLV() |
void |
setLinkTLV(LinkTLV linkTLV) |
void |
setRouterAddressTLV(RouterAddressTLV routerAddressTLV) |
String |
toString() |
encodeLSAHeader, equals, getOpaqueId, getOpaqueType, setOpaqueId, setOpaqueType
getAdvertisingRouter, getChecksum, getLength, getLinkStateId, getLSAbytes, getLSage, getLSlength, getLSsequenceNumber, getLStype, getLStype, getOptions, printHeader, setAdvertisingRouter, setLength, setLinkStateId, setLSage, setLSsequenceNumber, setLStype, setOptions
public OSPFTEv2LSA()
public OSPFTEv2LSA(byte[] bytes, int offset) throws MalformedOSPFLSAException
bytes
- offset
- MalformedOSPFLSAException
public RouterAddressTLV getRouterAddressTLV()
public void setRouterAddressTLV(RouterAddressTLV routerAddressTLV)
routerAddressTLV
- public LinkTLV getLinkTLV()
public void setLinkTLV(LinkTLV linkTLV)
linkTLV
- Copyright © 2016. All rights reserved.