Class SimpleVendorInformationTlvRegistry
java.lang.Object
org.opendaylight.protocol.pcep.spi.pojo.SimpleVendorInformationTlvRegistry
- All Implemented Interfaces:
VendorInformationTlvRegistry
public class SimpleVendorInformationTlvRegistry
extends Object
implements VendorInformationTlvRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseVendorInformationTlv
(EnterpriseNumber enterpriseNumber, io.netty.buffer.ByteBuf buffer) org.opendaylight.yangtools.concepts.Registration
registerVendorInformationTlvParser
(EnterpriseNumber enterpriseNumber, TlvParser parser) org.opendaylight.yangtools.concepts.Registration
registerVendorInformationTlvSerializer
(Class<? extends EnterpriseSpecificInformation> esInformationClass, TlvSerializer serializer) void
serializeVendorInformationTlv
(VendorInformationTlv viTlv, io.netty.buffer.ByteBuf buffer)
-
Constructor Details
-
SimpleVendorInformationTlvRegistry
public SimpleVendorInformationTlvRegistry()
-
-
Method Details
-
registerVendorInformationTlvParser
public org.opendaylight.yangtools.concepts.Registration registerVendorInformationTlvParser(EnterpriseNumber enterpriseNumber, TlvParser parser) -
registerVendorInformationTlvSerializer
public org.opendaylight.yangtools.concepts.Registration registerVendorInformationTlvSerializer(Class<? extends EnterpriseSpecificInformation> esInformationClass, TlvSerializer serializer) -
parseVendorInformationTlv
public Optional<VendorInformationTlv> parseVendorInformationTlv(EnterpriseNumber enterpriseNumber, io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException - Specified by:
parseVendorInformationTlv
in interfaceVendorInformationTlvRegistry
- Throws:
PCEPDeserializerException
-
serializeVendorInformationTlv
public void serializeVendorInformationTlv(VendorInformationTlv viTlv, io.netty.buffer.ByteBuf buffer) - Specified by:
serializeVendorInformationTlv
in interfaceVendorInformationTlvRegistry
-