Class AbstractRROWithSubobjectsParser

  • All Implemented Interfaces:
    org.opendaylight.protocol.pcep.spi.ObjectParser, org.opendaylight.protocol.pcep.spi.ObjectSerializer
    Direct Known Subclasses:
    PCEPReportedRouteObjectParser, PCEPSecondaryRecordRouteObjectParser

    public abstract class AbstractRROWithSubobjectsParser
    extends org.opendaylight.protocol.pcep.spi.CommonObjectParser
    implements org.opendaylight.protocol.pcep.spi.ObjectSerializer
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractRROWithSubobjectsParser​(org.opendaylight.protocol.pcep.spi.RROSubobjectRegistry subobjReg, int objectClass, int objectType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject> parseSubobjects​(io.netty.buffer.ByteBuf buffer)  
      protected void serializeSubobject​(List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject> subobjects, 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.ObjectParser

        parseObject
      • Methods inherited from interface org.opendaylight.protocol.pcep.spi.ObjectSerializer

        serializeObject
    • Constructor Detail

      • AbstractRROWithSubobjectsParser

        protected AbstractRROWithSubobjectsParser​(org.opendaylight.protocol.pcep.spi.RROSubobjectRegistry subobjReg,
                                                  int objectClass,
                                                  int objectType)
    • Method Detail

      • parseSubobjects

        protected List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject> parseSubobjects​(io.netty.buffer.ByteBuf buffer)
                                                                                                                                                           throws org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
        Throws:
        org.opendaylight.protocol.pcep.spi.PCEPDeserializerException
      • serializeSubobject

        protected final void serializeSubobject​(List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.reported.route.object.rro.Subobject> subobjects,
                                                io.netty.buffer.ByteBuf buffer)