Class AbstractVendorInformationObjectParser

  • All Implemented Interfaces:
    org.opendaylight.protocol.pcep.spi.EnterpriseSpecificInformationParser, org.opendaylight.protocol.pcep.spi.ObjectParser, org.opendaylight.protocol.pcep.spi.ObjectSerializer

    public abstract class AbstractVendorInformationObjectParser
    extends org.opendaylight.protocol.pcep.spi.CommonObjectParser
    implements org.opendaylight.protocol.pcep.spi.ObjectSerializer, org.opendaylight.protocol.pcep.spi.EnterpriseSpecificInformationParser
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object parseObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader header, io.netty.buffer.ByteBuf buffer)  
      void serializeObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object object, io.netty.buffer.ByteBuf buffer)  
      • Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser

        getObjectClass, getObjectType
      • Methods inherited from interface org.opendaylight.protocol.pcep.spi.EnterpriseSpecificInformationParser

        getEnterpriseNumber, parseEnterpriseSpecificInformation, serializeEnterpriseSpecificInformation
    • Constructor Detail

      • AbstractVendorInformationObjectParser

        public AbstractVendorInformationObjectParser​(int objectClass,
                                                     int objectType)
    • Method Detail

      • parseObject

        public final org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object parseObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.ObjectHeader header,
                                                                                                                              io.netty.buffer.ByteBuf buffer)
                                                                                                                       throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
        Specified by:
        parseObject in interface org.opendaylight.protocol.pcep.spi.ObjectParser
        Throws:
        org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
      • serializeObject

        public final void serializeObject​(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.Object object,
                                          io.netty.buffer.ByteBuf buffer)
        Specified by:
        serializeObject in interface org.opendaylight.protocol.pcep.spi.ObjectSerializer