Interface BGPExtensionProviderContext

All Superinterfaces:
BGPExtensionConsumerContext
All Known Implementing Classes:
SimpleBGPExtensionProviderContext

public interface BGPExtensionProviderContext extends BGPExtensionConsumerContext
Context for registering providers of the various types of extension points BGP provides. These are then consumed by extension consumers. It also provides access to the context-wide object cache, which extension providers can use to increase the in-memory efficiency when the same objects are created over and over again.
  • Method Details

    • registerAddressFamily

      org.opendaylight.yangtools.concepts.Registration registerAddressFamily(AddressFamily afi, int number)
    • registerSubsequentAddressFamily

      org.opendaylight.yangtools.concepts.Registration registerSubsequentAddressFamily(SubsequentAddressFamily safi, int number)
    • registerAttributeParser

      org.opendaylight.yangtools.concepts.Registration registerAttributeParser(int attributeType, AttributeParser parser)
    • registerAttributeSerializer

      org.opendaylight.yangtools.concepts.Registration registerAttributeSerializer(Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> attributeClass, AttributeSerializer serializer)
    • registerCapabilityParser

      org.opendaylight.yangtools.concepts.Registration registerCapabilityParser(int capabilityType, CapabilityParser parser)
    • registerCapabilitySerializer

      org.opendaylight.yangtools.concepts.Registration registerCapabilitySerializer(Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> capabilityClass, CapabilitySerializer serializer)
    • registerMessageParser

      org.opendaylight.yangtools.concepts.Registration registerMessageParser(int messageType, MessageParser parser)
    • registerMessageSerializer

      <T extends org.opendaylight.yangtools.yang.binding.Notification<T> & org.opendaylight.yangtools.yang.binding.DataObject> org.opendaylight.yangtools.concepts.Registration registerMessageSerializer(Class<T> messageClass, MessageSerializer serializer)
    • registerBgpPrefixSidTlvParser

      org.opendaylight.yangtools.concepts.Registration registerBgpPrefixSidTlvParser(int tlvType, BgpPrefixSidTlvParser parser)
    • registerBgpPrefixSidTlvSerializer

      org.opendaylight.yangtools.concepts.Registration registerBgpPrefixSidTlvSerializer(Class<? extends BgpPrefixSidTlv> tlvClass, BgpPrefixSidTlvSerializer serializer)
    • registerNlriParser

      org.opendaylight.yangtools.concepts.Registration registerNlriParser(AddressFamily afi, SubsequentAddressFamily safi, NlriParser parser, NextHopParserSerializer nextHopHandler, Class<? extends CNextHop> cnextHopClass, Class<? extends CNextHop>... cnextHopClassList)
    • registerNlriSerializer

      org.opendaylight.yangtools.concepts.Registration registerNlriSerializer(Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> nlriClass, NlriSerializer serializer)
    • registerParameterParser

      org.opendaylight.yangtools.concepts.Registration registerParameterParser(int parameterType, ParameterParser parser)
    • registerParameterSerializer

      org.opendaylight.yangtools.concepts.Registration registerParameterSerializer(Class<? extends BgpParameters> paramClass, ParameterSerializer serializer)
    • registerExtendedCommunitySerializer

      org.opendaylight.yangtools.concepts.Registration registerExtendedCommunitySerializer(Class<? extends ExtendedCommunity> extendedCommunityClass, ExtendedCommunitySerializer serializer)
    • registerExtendedCommunityParser

      org.opendaylight.yangtools.concepts.Registration registerExtendedCommunityParser(int type, int subtype, ExtendedCommunityParser parser)
    • getReferenceCache

      ReferenceCache getReferenceCache()
      Get the context-wide cache for a particular object type.
      Returns:
      An object cache instance.