Class SimpleTlvRegistry
java.lang.Object
org.opendaylight.protocol.pcep.spi.pojo.SimpleTlvRegistry
- All Implemented Interfaces:
TlvRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseTlv
(int type, io.netty.buffer.ByteBuf buffer) org.opendaylight.yangtools.concepts.Registration
registerTlvParser
(int tlvType, TlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerTlvSerializer
(Class<? extends Tlv> tlvClass, TlvSerializer serializer) void
serializeTlv
(Tlv tlv, io.netty.buffer.ByteBuf buffer)
-
Constructor Details
-
SimpleTlvRegistry
public SimpleTlvRegistry()
-
-
Method Details
-
registerTlvParser
public org.opendaylight.yangtools.concepts.Registration registerTlvParser(int tlvType, TlvParser parser) -
registerTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerTlvSerializer(Class<? extends Tlv> tlvClass, TlvSerializer serializer) -
parseTlv
- Specified by:
parseTlv
in interfaceTlvRegistry
- Throws:
PCEPDeserializerException
-
serializeTlv
- Specified by:
serializeTlv
in interfaceTlvRegistry
-