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, setOpaqueTypegetAdvertisingRouter, getChecksum, getLength, getLinkStateId, getLSAbytes, getLSage, getLSlength, getLSsequenceNumber, getLStype, getLStype, getOptions, printHeader, setAdvertisingRouter, setLength, setLinkStateId, setLSage, setLSsequenceNumber, setLStype, setOptionspublic OSPFTEv2LSA()
public OSPFTEv2LSA(byte[] bytes,
int offset)
throws MalformedOSPFLSAException
bytes - offset - MalformedOSPFLSAExceptionpublic RouterAddressTLV getRouterAddressTLV()
public void setRouterAddressTLV(RouterAddressTLV routerAddressTLV)
routerAddressTLV - public LinkTLV getLinkTLV()
public void setLinkTLV(LinkTLV linkTLV)
linkTLV - Copyright © 2016. All rights reserved.