Class AbstractTwoOctetAsExtendedCommunity
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractTwoOctetAsExtendedCommunity
- All Implemented Interfaces:
ExtendedCommunityParser,ExtendedCommunitySerializer
- Direct Known Subclasses:
AsTwoOctetSpecificEcHandler,RouteOriginAsTwoOctetEcHandler,RouteTargetAsTwoOctetEcHandler,SourceASHandler
public abstract class AbstractTwoOctetAsExtendedCommunity
extends Object
implements ExtendedCommunityParser, ExtendedCommunitySerializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetType(boolean isTransitive) Provides a type of the extended community for which the serializer is registered.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser
parseExtendedCommunityMethods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
getSubType, serializeExtendedCommunity
-
Field Details
-
AS_LOCAL_ADMIN_LENGTH
public static final int AS_LOCAL_ADMIN_LENGTH- See Also:
-
-
Constructor Details
-
AbstractTwoOctetAsExtendedCommunity
public AbstractTwoOctetAsExtendedCommunity()
-
-
Method Details
-
getType
public final int getType(boolean isTransitive) Description copied from interface:ExtendedCommunitySerializerProvides a type of the extended community for which the serializer is registered.- Specified by:
getTypein interfaceExtendedCommunitySerializer- Parameters:
isTransitive- Transitivity of the extended community.- Returns:
- A type of the extended community.
-