public class BgpAttrNodeMultiTopologyId extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRNODE_MULTITOPOLOGY |
| Constructor and Description |
|---|
BgpAttrNodeMultiTopologyId(List<Short> multiTopologyId)
Constructor to initialize the Node attribute multi-topology ID.
|
| Modifier and Type | Method and Description |
|---|---|
List<Short> |
attrMultiTopologyId()
to get the multi-topology ID.
|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpAttrNodeMultiTopologyId |
of(ArrayList<Short> multiTopologyId)
Returns object of this class with specified values.
|
static BgpAttrNodeMultiTopologyId |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the Multi-topology ID of Node attribute.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Writes the byte Stream of BGP Message to channel buffer.
|
public static final int ATTRNODE_MULTITOPOLOGY
public static BgpAttrNodeMultiTopologyId of(ArrayList<Short> multiTopologyId)
multiTopologyId - Prefix Metricpublic static BgpAttrNodeMultiTopologyId read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - ChannelBufferBgpParseException - while parsing BgpAttrNodeMultiTopologyIdpublic List<Short> attrMultiTopologyId()
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 - object