Class SimpleTlvRegistry
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.pojo.SimpleTlvRegistry
-
- All Implemented Interfaces:
TlvRegistry
public final class SimpleTlvRegistry extends Object implements TlvRegistry
-
-
Constructor Summary
Constructors Constructor Description SimpleTlvRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tlv
parseTlv(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)
-
-
-
Method Detail
-
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
public Tlv parseTlv(int type, io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
- Specified by:
parseTlv
in interfaceTlvRegistry
- Throws:
PCEPDeserializerException
-
serializeTlv
public void serializeTlv(Tlv tlv, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeTlv
in interfaceTlvRegistry
-
-