Class Abstract4OctetAsExtendedCommunity
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.Abstract4OctetAsExtendedCommunity
- All Implemented Interfaces:
ExtendedCommunityParser
,ExtendedCommunitySerializer
- Direct Known Subclasses:
Generic4OctASEcHandler
,RouteOrigin4OctectASEcHandler
,RouteTarget4OctectASEcHandler
,SourceAS4OctectHandler
public abstract class Abstract4OctetAsExtendedCommunity
extends Object
implements ExtendedCommunityParser, ExtendedCommunitySerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getType
(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
-
Constructor Details
-
Abstract4OctetAsExtendedCommunity
public Abstract4OctetAsExtendedCommunity()
-
-
Method Details
-
getType
public int getType(boolean isTransitive) Description copied from interface:ExtendedCommunitySerializer
Provides a type of the extended community for which the serializer is registered.- Specified by:
getType
in interfaceExtendedCommunitySerializer
- Parameters:
isTransitive
- Transitivity of the extended community.- Returns:
- A type of the extended community.
-