public class WideCommunityExcludeTarget extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Constructor and Description |
|---|
WideCommunityExcludeTarget(List<BgpValueType> excludeTargetTlv)
Wide community targets.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
List<BgpValueType> |
excludeTargetTlv()
Returns wide community targets.
|
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpValueType |
of(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(List<BgpValueType> excludeTargetTlv)
Sets wide community target.
|
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(List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - wide community exclude targetpublic static BgpValueType of(List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - exclude targetpublic List<BgpValueType> excludeTargetTlv()
public void setExcludeTargetTlv(List<BgpValueType> excludeTargetTlv)
excludeTargetTlv - wide community exclude targetspublic 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 int compareTo(Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - object