public class MetricLinkAttribTLV extends BGP4TLVFormat
log, tlv_bytes, TLVType, TLVValueLength, TotalTLVLength
Constructor and Description |
---|
MetricLinkAttribTLV() |
MetricLinkAttribTLV(byte[] bytes,
int offset) |
Modifier and Type | Method and Description |
---|---|
void |
decode() |
void |
encode() |
int |
getMetric_type() |
int |
getMetric() |
void |
setMetric_type(int metric_type) |
void |
setMetric(int metric) |
String |
toString() |
encodeHeader, getTlv_bytes, getTLVLength, getTLVType, getTLVValueLength, getTotalTLVLength, getTotalTLVLength, getType, setTlv_bytes, setTLVType, setTLVValueLength
public MetricLinkAttribTLV()
public MetricLinkAttribTLV(byte[] bytes, int offset)
public void encode()
encode
in class BGP4TLVFormat
public void decode()
public int getMetric_type()
public void setMetric_type(int metric_type)
public int getMetric()
public void setMetric(int metric)
Copyright © 2016. All rights reserved.