public class BgpFlowSpecNlri
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static short |
FLOW_SPEC_LEN |
| Constructor and Description |
|---|
BgpFlowSpecNlri()
Flow specification details object constructor.
|
BgpFlowSpecNlri(java.util.List<BgpValueType> flowSpecComponents)
Flow specification details object constructor with the parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<BgpValueType> |
flowSpecComponents()
Returns flow specification components.
|
java.util.List<BgpValueType> |
fsActionTlv()
Returns flow specification action tlv.
|
int |
hashCode() |
RouteDistinguisher |
routeDistinguisher()
Returns route distinguisher for the flow specification components.
|
void |
setFlowSpecComponents(java.util.List<BgpValueType> flowSpecComponents)
Sets flow specification components.
|
void |
setFsActionTlv(java.util.List<BgpValueType> fsActionTlv)
Set flow specification action tlv.
|
void |
setRouteDistinguiher(RouteDistinguisher routeDistinguisher)
Set route distinguisher for flow specification component.
|
java.lang.String |
toString() |
static void |
updateBufferIdenticalFlowTypes(org.jboss.netty.buffer.ChannelBuffer cb,
BgpFlowSpecNlri bgpFlowSpecNlri)
Update buffer with identical flow types.
|
static void |
updateBufferNonIdenticalFlowTypes(org.jboss.netty.buffer.ChannelBuffer cb,
BgpFlowSpecNlri bgpFlowSpecNlri)
Update buffer with non-identical flow types.
|
static void |
writeFlowType(BgpValueType tlv,
org.jboss.netty.buffer.ChannelBuffer cb)
Write flow type to channel buffer.
|
public static final short FLOW_SPEC_LEN
public BgpFlowSpecNlri(java.util.List<BgpValueType> flowSpecComponents)
flowSpecComponents - flow specification componentspublic BgpFlowSpecNlri()
public java.util.List<BgpValueType> fsActionTlv()
public void setFsActionTlv(java.util.List<BgpValueType> fsActionTlv)
fsActionTlv - flow specification action tlvpublic RouteDistinguisher routeDistinguisher()
public void setRouteDistinguiher(RouteDistinguisher routeDistinguisher)
routeDistinguisher - route distinguisherpublic java.util.List<BgpValueType> flowSpecComponents()
public void setFlowSpecComponents(java.util.List<BgpValueType> flowSpecComponents)
flowSpecComponents - flow specification componentspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static void writeFlowType(BgpValueType tlv, org.jboss.netty.buffer.ChannelBuffer cb)
tlv - flow typecb - channel bufferpublic static void updateBufferIdenticalFlowTypes(org.jboss.netty.buffer.ChannelBuffer cb,
BgpFlowSpecNlri bgpFlowSpecNlri)
cb - channel bufferbgpFlowSpecNlri - flow specificationpublic static void updateBufferNonIdenticalFlowTypes(org.jboss.netty.buffer.ChannelBuffer cb,
BgpFlowSpecNlri bgpFlowSpecNlri)
cb - channel bufferbgpFlowSpecNlri - flow specificationpublic java.lang.String toString()
toString in class java.lang.Object