public class BgpAttrNodeName extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRNODE_NAME |
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
BgpAttrNodeName(byte[] nodeName)
Constructor to initialize value.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
attrNodeName()
Returns LS attribute node name.
|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpAttrNodeName |
of(byte[] nodeName)
Returns object of this class with specified values.
|
static BgpAttrNodeName |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the LS attribute node name.
|
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 ATTRNODE_NAME
public BgpAttrNodeName(byte[] nodeName)
nodeName - node namepublic static BgpAttrNodeName of(byte[] nodeName)
nodeName - node namepublic static BgpAttrNodeName read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - ChannelBufferBgpParseException - while parsing BgpAttrNodeNamepublic byte[] attrNodeName()
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.