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 Details

    • AbstractOpaqueExtendedCommunity

      public AbstractOpaqueExtendedCommunity()
  • 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 interface ExtendedCommunitySerializer
      Parameters:
      isTransitive - Transitivity of the extended community.
      Returns:
      A type of the extended community.