Class AbstractEROWithSubobjectsParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.parser.object.AbstractEROWithSubobjectsParser
-
- All Implemented Interfaces:
org.opendaylight.protocol.pcep.spi.ObjectParser,org.opendaylight.protocol.pcep.spi.ObjectSerializer
- Direct Known Subclasses:
BranchNodeListObjectParser,NonBranchNodeListObjectParser,PCEPExplicitRouteObjectParser,PCEPIncludeRouteObjectParser,PCEPPathKeyObjectParser,PCEPSecondaryExplicitRouteObjecParser
public abstract class AbstractEROWithSubobjectsParser extends org.opendaylight.protocol.pcep.spi.CommonObjectParser implements org.opendaylight.protocol.pcep.spi.ObjectSerializer
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEROWithSubobjectsParser(org.opendaylight.protocol.pcep.spi.EROSubobjectRegistry 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.explicit.route.object.ero.Subobject>parseSubobjects(io.netty.buffer.ByteBuf buffer)protected voidserializeSubobject(List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.explicit.route.object.ero.Subobject> subobjects, io.netty.buffer.ByteBuf buffer)-
Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
-
-
-
Method Detail
-
parseSubobjects
protected List<org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.pcep.types.rev181109.explicit.route.object.ero.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.explicit.route.object.ero.Subobject> subobjects, io.netty.buffer.ByteBuf buffer)
-
-