public class BgpFlowSpecNlri extends Object
| Modifier and Type | Field and Description |
|---|---|
static short |
FLOW_SPEC_LEN |
| Constructor and Description |
|---|
BgpFlowSpecNlri()
Flow specification details object constructor.
|
BgpFlowSpecNlri(List<BgpValueType> flowSpecComponents)
Flow specification details object constructor with the parameter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<BgpValueType> |
flowSpecComponents()
Returns flow specification components.
|
List<BgpValueType> |
fsActionTlv()
Returns flow specification action tlv.
|
int |
hashCode() |
RouteDistinguisher |
routeDistinguisher()
Returns route distinguisher for the flow specification components.
|
void |
setFlowSpecComponents(List<BgpValueType> flowSpecComponents)
Sets flow specification components.
|
void |
setFsActionTlv(List<BgpValueType> fsActionTlv)
Set flow specification action tlv.
|
void |
setRouteDistinguiher(RouteDistinguisher routeDistinguisher)
Set route distinguisher for flow specification component.
|
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(List<BgpValueType> flowSpecComponents)
flowSpecComponents - flow specification componentspublic BgpFlowSpecNlri()
public List<BgpValueType> fsActionTlv()
public void setFsActionTlv(List<BgpValueType> fsActionTlv)
fsActionTlv - flow specification action tlvpublic RouteDistinguisher routeDistinguisher()
public void setRouteDistinguiher(RouteDistinguisher routeDistinguisher)
routeDistinguisher - route distinguisherpublic List<BgpValueType> flowSpecComponents()
public void setFlowSpecComponents(List<BgpValueType> flowSpecComponents)
flowSpecComponents - flow specification componentspublic 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 specification