public class SimpleBmpTlvRegistry extends Object implements BmpTlvRegistry
Constructor and Description |
---|
SimpleBmpTlvRegistry() |
Modifier and Type | Method and Description |
---|---|
Tlv |
parseTlv(int tlvType,
io.netty.buffer.ByteBuf buffer) |
AutoCloseable |
registerBmpTlvParser(int tlvType,
BmpTlvParser parser) |
AutoCloseable |
registerBmpTlvSerializer(Class<? extends Tlv> tlvClass,
BmpTlvSerializer serializer) |
void |
serializeTlv(Tlv tlv,
io.netty.buffer.ByteBuf output) |
public void serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf output)
serializeTlv
in interface BmpTlvSerializer
public Tlv parseTlv(int tlvType, io.netty.buffer.ByteBuf buffer) throws BmpDeserializationException
parseTlv
in interface BmpTlvRegistry
BmpDeserializationException
public AutoCloseable registerBmpTlvParser(int tlvType, BmpTlvParser parser)
registerBmpTlvParser
in interface BmpTlvRegistrator
public AutoCloseable registerBmpTlvSerializer(Class<? extends Tlv> tlvClass, BmpTlvSerializer serializer)
registerBmpTlvSerializer
in interface BmpTlvRegistrator
Copyright © 2018 OpenDaylight. All rights reserved.