public class BgpFsIpProtocol extends java.lang.Object implements BgpValueType
| Modifier and Type | Field and Description |
|---|---|
static byte |
FLOW_SPEC_TYPE |
| Constructor and Description |
|---|
BgpFsIpProtocol(java.util.List<BgpFsOperatorValue> operatorValue)
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) |
short |
getType()
Returns the Type of BGP Message.
|
int |
hashCode() |
java.util.List<BgpFsOperatorValue> |
operatorValue()
Returns flow type operator and value.
|
static BgpFsIpProtocol |
read(org.jboss.netty.buffer.ChannelBuffer cb)
Reads the channel buffer and returns object.
|
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 byte FLOW_SPEC_TYPE
public BgpFsIpProtocol(java.util.List<BgpFsOperatorValue> operatorValue)
operatorValue - list of operator and valuepublic java.util.List<BgpFsOperatorValue> operatorValue()
public 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 int write(org.jboss.netty.buffer.ChannelBuffer cb)
BgpValueTypewrite in interface BgpValueTypecb - channel bufferpublic static BgpFsIpProtocol read(org.jboss.netty.buffer.ChannelBuffer cb) throws BgpParseException
cb - channelBufferBgpParseException - while parsing BgpFsIpProtocolpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
BgpValueTypecompareTo in interface BgpValueTypeo - object