Interface ExtendedCommunityParser
- All Known Implementing Classes:
Abstract4OctetAsExtendedCommunity,AbstractIpv4ExtendedCommunity,AbstractOpaqueExtendedCommunity,AbstractTwoOctetAsExtendedCommunity,AsTwoOctetSpecificEcHandler,DefaultGatewayExtCom,EncapsulationEC,ESILabelExtCom,ESImpRouteTargetExtCom,Generic4OctASEcHandler,Ipv4SpecificEcHandler,Layer2AttributesExtCom,LinkBandwidthEC,MACMobExtCom,OpaqueEcHandler,RedirectAsFourOctetEcHandler,RedirectAsTwoOctetEcHandler,RedirectIpNextHopEcHandler,RedirectIpv4EcHandler,RedirectIpv6EcHandler,RouteOrigin4OctectASEcHandler,RouteOriginAsTwoOctetEcHandler,RouteOriginIpv4EcHandler,RouteTarget4OctectASEcHandler,RouteTargetAsTwoOctetEcHandler,RouteTargetIpv4EcHandler,SourceAS4OctectHandler,SourceASHandler,TrafficActionEcHandler,TrafficMarkingEcHandler,TrafficRateEcHandler,VrfRouteImportHandler
public interface ExtendedCommunityParser
The Extended Community value parser (ByteBuf to ExtendedCommunity).
-
Method Summary
Modifier and TypeMethodDescriptionparseExtendedCommunity(io.netty.buffer.ByteBuf buffer) Parses the Extended Community value encoded in the buffer.
-
Method Details
-
parseExtendedCommunity
ExtendedCommunity parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException Parses the Extended Community value encoded in the buffer.- Parameters:
buffer- ByteBuf- Returns:
- Decoded Extended Community value.
- Throws:
BGPDocumentedExceptionBGPParsingException
-