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 SummaryFields Modifier and Type Field Description static intAS_LOCAL_ADMIN_LENGTH
 - 
Constructor SummaryConstructors Constructor Description AbstractTwoOctetAsExtendedCommunity()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetType(boolean isTransitive)Provides a type of the extended community for which the serializer is registered.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParserparseExtendedCommunity
 - 
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializergetSubType, serializeExtendedCommunity
 
- 
 
- 
- 
- 
Field Detail- 
AS_LOCAL_ADMIN_LENGTHpublic static final int AS_LOCAL_ADMIN_LENGTH - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getTypepublic 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 interface- ExtendedCommunitySerializer
- Parameters:
- isTransitive- Transitivity of the extended community.
- Returns:
- A type of the extended community.
 
 
- 
 
-