public final class BgpLinkAttrOpaqLnkAttrib extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRNODE_OPAQUELNKATTRIB |
protected static org.slf4j.Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
attrOpaqueLnk()
Returns the Opaque link attribute.
|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpLinkAttrOpaqLnkAttrib |
of(byte[] opaqueLinkAttribute)
Returns object of this class with specified values.
|
static BgpLinkAttrOpaqLnkAttrib |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the BGP link attributes Opaque link attribute.
|
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_OPAQUELNKATTRIB
public static BgpLinkAttrOpaqLnkAttrib of(byte[] opaqueLinkAttribute)
opaqueLinkAttribute - opaque link attributepublic static BgpLinkAttrOpaqLnkAttrib read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - Channel bufferBgpParseException - while parsing BgpLinkAttrOpaqLnkAttribpublic byte[] attrOpaqueLnk()
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