Class SimpleBmpExtensionProviderContext
java.lang.Object
org.opendaylight.protocol.bmp.spi.registry.SimpleBmpExtensionProviderContext
- All Implemented Interfaces:
BmpExtensionConsumerContext
,BmpExtensionProviderContext
,BmpMessageRegistrator
public class SimpleBmpExtensionProviderContext
extends Object
implements BmpExtensionConsumerContext, BmpExtensionProviderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.concepts.Registration
registerBmpInitiationTlvParser
(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerBmpInitiationTlvSerializer
(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerBmpMessageParser
(int messageType, BmpMessageParser parser) <T extends org.opendaylight.yangtools.yang.binding.Notification<T> & org.opendaylight.yangtools.yang.binding.DataObject>
org.opendaylight.yangtools.concepts.RegistrationregisterBmpMessageSerializer
(Class<T> messageClass, BmpMessageSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerBmpPeerUpTlvParser
(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerBmpPeerUpTlvSerializer
(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerBmpRouteMirroringTlvParser
(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerBmpRouteMirroringTlvSerializer
(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerBmpStatisticsTlvParser
(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerBmpStatisticsTlvSerializer
(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) org.opendaylight.yangtools.concepts.Registration
registerBmpTerminationTlvParser
(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerBmpTerminationTlvSerializer
(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer)
-
Constructor Details
-
SimpleBmpExtensionProviderContext
public SimpleBmpExtensionProviderContext()
-
-
Method Details
-
registerBmpMessageParser
public org.opendaylight.yangtools.concepts.Registration registerBmpMessageParser(int messageType, BmpMessageParser parser) - Specified by:
registerBmpMessageParser
in interfaceBmpMessageRegistrator
-
registerBmpMessageSerializer
public <T extends org.opendaylight.yangtools.yang.binding.Notification<T> & org.opendaylight.yangtools.yang.binding.DataObject> org.opendaylight.yangtools.concepts.Registration registerBmpMessageSerializer(Class<T> messageClass, BmpMessageSerializer serializer) - Specified by:
registerBmpMessageSerializer
in interfaceBmpMessageRegistrator
-
getBmpMessageRegistry
- Specified by:
getBmpMessageRegistry
in interfaceBmpExtensionConsumerContext
-
registerBmpStatisticsTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpStatisticsTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpStatisticsTlvParser
in interfaceBmpExtensionProviderContext
-
registerBmpStatisticsTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpStatisticsTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpStatisticsTlvSerializer
in interfaceBmpExtensionProviderContext
-
registerBmpPeerUpTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpPeerUpTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpPeerUpTlvParser
in interfaceBmpExtensionProviderContext
-
registerBmpPeerUpTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpPeerUpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpPeerUpTlvSerializer
in interfaceBmpExtensionProviderContext
-
registerBmpInitiationTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpInitiationTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpInitiationTlvParser
in interfaceBmpExtensionProviderContext
-
registerBmpInitiationTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpInitiationTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpInitiationTlvSerializer
in interfaceBmpExtensionProviderContext
-
registerBmpTerminationTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpTerminationTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpTerminationTlvParser
in interfaceBmpExtensionProviderContext
-
registerBmpTerminationTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpTerminationTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpTerminationTlvSerializer
in interfaceBmpExtensionProviderContext
-
registerBmpRouteMirroringTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpRouteMirroringTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpRouteMirroringTlvParser
in interfaceBmpExtensionProviderContext
-
registerBmpRouteMirroringTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpRouteMirroringTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpRouteMirroringTlvSerializer
in interfaceBmpExtensionProviderContext
-
getBmpStatisticsTlvRegistry
- Specified by:
getBmpStatisticsTlvRegistry
in interfaceBmpExtensionConsumerContext
-
getBmpInitiationTlvRegistry
- Specified by:
getBmpInitiationTlvRegistry
in interfaceBmpExtensionConsumerContext
-
getBmpPeerUpTlvRegistry
- Specified by:
getBmpPeerUpTlvRegistry
in interfaceBmpExtensionConsumerContext
-
getBmpTerminationTlvRegistry
- Specified by:
getBmpTerminationTlvRegistry
in interfaceBmpExtensionConsumerContext
-
getBmpRouteMirroringTlvRegistry
- Specified by:
getBmpRouteMirroringTlvRegistry
in interfaceBmpExtensionConsumerContext
-