public class BgpExtendedCommunity extends Object implements BgpValueType
| Constructor and Description |
|---|
BgpExtendedCommunity(List<BgpValueType> fsActionTlv)
Constructor to initialize the value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
List<BgpValueType> |
fsActionTlv()
Returns extended community type.
|
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpExtendedCommunity |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads from the channel buffer and parses extended community.
|
String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer cb)
Writes the byte Stream of BGP Message to channel buffer.
|
public static final short TYPE
public static final byte FLAGS
public BgpExtendedCommunity(List<BgpValueType> fsActionTlv)
fsActionTlv - flow specification action typepublic List<BgpValueType> fsActionTlv()
public static BgpExtendedCommunity read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - ChannelBufferBgpParseException - while parsing extended communitypublic 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.