Class SimpleBmpTlvRegistry
- java.lang.Object
-
- org.opendaylight.protocol.bmp.spi.registry.SimpleBmpTlvRegistry
-
- All Implemented Interfaces:
BmpTlvRegistry
,BmpTlvSerializer
,BmpTlvRegistrator
public class SimpleBmpTlvRegistry extends Object implements BmpTlvRegistry
-
-
Constructor Summary
Constructors Constructor Description SimpleBmpTlvRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tlv
parseTlv(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)
-
-
-
Method Detail
-
serializeTlv
public void serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf output)
- Specified by:
serializeTlv
in interfaceBmpTlvSerializer
-
parseTlv
public Tlv parseTlv(int tlvType, io.netty.buffer.ByteBuf buffer) throws BmpDeserializationException
- 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
-
-