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 Detail

      • registerAddressFamily

        org.opendaylight.yangtools.concepts.Registration registerAddressFamily​(Class<? extends AddressFamily> clazz,
                                                                               int number)
      • registerSubsequentAddressFamily

        org.opendaylight.yangtools.concepts.Registration registerSubsequentAddressFamily​(Class<? extends SubsequentAddressFamily> clazz,
                                                                                         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

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

        org.opendaylight.yangtools.concepts.Registration registerBgpPrefixSidTlvParser​(int tlvType,
                                                                                       BgpPrefixSidTlvParser parser)
      • 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)
      • 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.