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