public class WideCommunityExcludeTarget extends java.lang.Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Constructor and Description |
|---|
WideCommunityExcludeTarget(java.util.List<BgpValueType> excludeTargetTlv)
Wide community targets.
|
| 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> |
excludeTargetTlv()
Returns wide community targets.
|
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpValueType |
of(java.util.List<BgpValueType> excludeTargetTlv)
Returns object of this class with specified values.
|
static WideCommunityExcludeTarget |
read(org.jboss.netty.buffer.ChannelBuffer c)
Reads the channel buffer and returns object of WideCommunityExcludeTarget.
|
void |
setExcludeTargetTlv(java.util.List<BgpValueType> excludeTargetTlv)
Sets wide community target.
|
java.lang.String |
toString() |
int |
write(org.jboss.netty.buffer.ChannelBuffer c)
Writes the byte Stream of BGP Message to channel buffer.
|
public static final byte TYPE
public WideCommunityExcludeTarget(java.util.List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - wide community exclude targetpublic static BgpValueType of(java.util.List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - exclude targetpublic java.util.List<BgpValueType> excludeTargetTlv()
public void setExcludeTargetTlv(java.util.List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - wide community exclude targetspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int write(org.jboss.netty.buffer.ChannelBuffer c)
BgpValueTypewrite in interface BgpValueTypec - channel bufferpublic static WideCommunityExcludeTarget read(org.jboss.netty.buffer.ChannelBuffer c) throws BgpParseException
c - ChannelBufferBgpParseException - on read errorpublic short getType()
BgpValueTypegetType in interface BgpValueTypepublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - object