Class AbstractEROWithSubobjectsParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.parser.object.AbstractEROWithSubobjectsParser
-
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
- Direct Known Subclasses:
BranchNodeListObjectParser
,NonBranchNodeListObjectParser
,PCEPExplicitRouteObjectParser
,PCEPIncludeRouteObjectParser
,PCEPPathKeyObjectParser
,PCEPSecondaryExplicitRouteObjecParser
public abstract class AbstractEROWithSubobjectsParser extends CommonObjectParser implements ObjectSerializer
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractEROWithSubobjectsParser(EROSubobjectRegistry subobjReg, int objectClass, int objectType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Subobject>
parseSubobjects(io.netty.buffer.ByteBuf buffer)
protected 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 Detail
-
AbstractEROWithSubobjectsParser
protected AbstractEROWithSubobjectsParser(EROSubobjectRegistry subobjReg, int objectClass, int objectType)
-
-
Method Detail
-
parseSubobjects
protected List<Subobject> parseSubobjects(io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
- Throws:
PCEPDeserializerException
-
-