Class SimpleBmpTlvRegistry
java.lang.Object
org.opendaylight.protocol.bmp.spi.registry.SimpleBmpTlvRegistry
- All Implemented Interfaces:
BmpTlvRegistry,BmpTlvSerializer,BmpTlvRegistrator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseTlv(int tlvType, io.netty.buffer.ByteBuf buffer) org.opendaylight.yangtools.concepts.RegistrationregisterBmpTlvParser(int tlvType, BmpTlvParser parser) org.opendaylight.yangtools.concepts.RegistrationregisterBmpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) voidserializeTlv(Tlv tlv, io.netty.buffer.ByteBuf output)
-
Constructor Details
-
SimpleBmpTlvRegistry
public SimpleBmpTlvRegistry()
-
-
Method Details
-
serializeTlv
- Specified by:
serializeTlvin interfaceBmpTlvSerializer
-
parseTlv
- Specified by:
parseTlvin interfaceBmpTlvRegistry- Throws:
BmpDeserializationException
-
registerBmpTlvParser
public org.opendaylight.yangtools.concepts.Registration registerBmpTlvParser(int tlvType, BmpTlvParser parser) - Specified by:
registerBmpTlvParserin interfaceBmpTlvRegistrator
-
registerBmpTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerBmpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer) - Specified by:
registerBmpTlvSerializerin interfaceBmpTlvRegistrator
-