public class TrafficEngineeringMetric extends OSPFSubTLV
log, tlv_bytes, TLVType, TotalTLVLength
Constructor and Description |
---|
TrafficEngineeringMetric() |
TrafficEngineeringMetric(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
protected void |
decode() |
void |
encode() |
long |
getLinkMetric() |
void |
setLinkMetric(long linkMetric) |
String |
toString() |
encodeHeader, equals, getTlv_bytes, getTLVLength, getTLVType, getTLVValueLength, getTotalTLVLength, getTotalTLVLength, getType, hashCode, setTlv_bytes, setTLVType, setTLVValueLength
public TrafficEngineeringMetric()
public TrafficEngineeringMetric(byte[] bytes, int offset) throws MalformedOSPFSubTLVException
MalformedOSPFSubTLVException
public void encode()
encode
in class OSPFSubTLV
protected void decode() throws MalformedOSPFSubTLVException
decode
in class OSPFSubTLV
MalformedOSPFSubTLVException
public long getLinkMetric()
public void setLinkMetric(long linkMetric)
Copyright © 2016. All rights reserved.