Class AbstractXROWithSubobjectsParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractXROWithSubobjectsParser
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
- Direct Known Subclasses:
PCEPExcludeRouteObjectParser
public abstract class AbstractXROWithSubobjectsParser
extends CommonObjectParser
implements ObjectSerializer
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractXROWithSubobjectsParser
(XROSubobjectRegistry 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
-
AbstractXROWithSubobjectsParser
protected AbstractXROWithSubobjectsParser(XROSubobjectRegistry subobjReg, int objectClass, int objectType)
-
-
Method Details
-
parseSubobjects
protected List<Subobject> parseSubobjects(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException - Throws:
PCEPDeserializerException
-
serializeSubobject
-