Class AbstractXROWithSubobjectsParser

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

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

      Constructors 
      Modifier Constructor Description
      protected AbstractXROWithSubobjectsParser​(org.opendaylight.protocol.pcep.spi.XROSubobjectRegistry 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.exclude.route.object.xro.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.exclude.route.object.xro.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

      • AbstractXROWithSubobjectsParser

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

      • parseSubobjects

        protected List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.exclude.route.object.xro.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.exclude.route.object.xro.Subobject> subobjects,
                                                io.netty.buffer.ByteBuf buffer)