Class AbstractRROWithSubobjectsParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractRROWithSubobjectsParser
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
- Direct Known Subclasses:
PCEPReportedRouteObjectParser
,PCEPSecondaryRecordRouteObjectParser
public abstract class AbstractRROWithSubobjectsParser
extends CommonObjectParser
implements ObjectSerializer
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRROWithSubobjectsParser
(RROSubobjectRegistry subobjReg, int objectClass, int objectType) -
Method Summary
Modifier and TypeMethodDescriptionparseSubobjects
(io.netty.buffer.ByteBuf buffer) protected final void
serializeSubobject
(List<Subobject> subobjects, io.netty.buffer.ByteBuf buffer) Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.protocol.pcep.spi.ObjectParser
parseObject
Methods inherited from interface org.opendaylight.protocol.pcep.spi.ObjectSerializer
serializeObject
-
Constructor Details
-
AbstractRROWithSubobjectsParser
protected AbstractRROWithSubobjectsParser(RROSubobjectRegistry subobjReg, int objectClass, int objectType)
-
-
Method Details
-
parseSubobjects
protected List<Subobject> parseSubobjects(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException - Throws:
PCEPDeserializerException
-
serializeSubobject
-