public class BgpFsActionTrafficAction extends Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static byte |
BIT_MASK_LEN |
static short |
TYPE |
| Constructor and Description |
|---|
BgpFsActionTrafficAction(byte[] bitMask)
Constructor to initialize the value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compares two objects.
|
boolean |
equals(Object obj) |
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
static BgpFsActionTrafficAction |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
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 BIT_MASK_LEN
public BgpFsActionTrafficAction(byte[] bitMask)
bitMask - traffic action bit maskpublic short getType()
BgpValueTypegetType in interface BgpValueTypepublic int write(org.jboss.netty.buffer.ChannelBuffer cb)
BgpValueTypewrite in interface BgpValueTypecb - channel bufferpublic static BgpFsActionTrafficAction read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - channelBufferBgpParseException - while parsing BgpFsActionTrafficActionpublic int compareTo(Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - objectCopyright © 2016. All rights reserved.