public class BgpExtendedCommunity extends java.lang.Object implements BgpValueType
| Constructor and Description |
|---|
BgpExtendedCommunity(java.util.List<BgpValueType> fsActionTlv)
Constructor to initialize the value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o)
Compares two objects.
|
boolean |
equals(java.lang.Object obj) |
java.util.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.
|
java.lang.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(java.util.List<BgpValueType> fsActionTlv)
fsActionTlv - flow specification action typepublic java.util.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 hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
BgpValueTypewrite in interface BgpValueTypecb - channel bufferpublic int compareTo(java.lang.Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - object