public class BgpLinkAttrUnRsrvdLinkBandwidth extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
static int |
MAX_BANDWIDTH_LEN |
static int |
NO_OF_BITS |
static int |
NO_OF_PRIORITY |
short |
sType |
| Constructor and Description |
|---|
BgpLinkAttrUnRsrvdLinkBandwidth(List<Float> maxUnResBandwidth,
short sType)
Constructor to initialize the values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
List<Float> |
getLinkAttrUnRsrvdLinkBandwidth()
Returns maximum unreserved bandwidth.
|
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpLinkAttrUnRsrvdLinkBandwidth |
of(List<Float> linkPfxMetric,
short sType)
Returns object of this class with specified values.
|
static BgpLinkAttrUnRsrvdLinkBandwidth |
read(org.jboss.netty.buffer.ChannelBuffer cb,
short sType)
Reads the BGP link attributes of Maximum link bandwidth.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Writes the byte Stream of BGP Message to channel buffer.
|
protected static final org.slf4j.Logger log
public static final int MAX_BANDWIDTH_LEN
public static final int NO_OF_BITS
public static final int NO_OF_PRIORITY
public short sType
public static BgpLinkAttrUnRsrvdLinkBandwidth of(List<Float> linkPfxMetric, short sType)
linkPfxMetric - Prefix MetricsType - returns the tag valuepublic static BgpLinkAttrUnRsrvdLinkBandwidth read(org.jboss.netty.buffer.ChannelBuffer cb, short sType) throws BgpParseException
cb - Channel buffersType - returns the tag valueBgpParseException - while parsing BgpLinkAttrMaxLinkBandwidthpublic List<Float> getLinkAttrUnRsrvdLinkBandwidth()
public short getType()
BgpValueTypegetType in interface BgpValueTypepublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
BgpValueTypewrite in interface BgpValueTypecb - channel bufferpublic int compareTo(Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - objectCopyright © 2016. All rights reserved.