Class AbstractOpaqueExtendedCommunity
- java.lang.Object
-
- org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractOpaqueExtendedCommunity
-
- All Implemented Interfaces:
ExtendedCommunityParser,ExtendedCommunitySerializer
- Direct Known Subclasses:
DefaultGatewayExtCom,EncapsulationEC,OpaqueEcHandler
public abstract class AbstractOpaqueExtendedCommunity extends Object implements ExtendedCommunityParser, ExtendedCommunitySerializer
-
-
Constructor Summary
Constructors Constructor Description AbstractOpaqueExtendedCommunity()
-
Method Summary
All 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser
parseExtendedCommunity
-
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
getSubType, serializeExtendedCommunity
-
-
-
-
Method Detail
-
getType
public 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.
-
-