Class PCEPExcludeRouteObjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.parser.object.AbstractXROWithSubobjectsParser
-
- org.opendaylight.protocol.pcep.parser.object.PCEPExcludeRouteObjectParser
-
- All Implemented Interfaces:
ObjectParser,ObjectSerializer
public final class PCEPExcludeRouteObjectParser extends AbstractXROWithSubobjectsParser
Parser forXro.
-
-
Constructor Summary
Constructors Constructor Description PCEPExcludeRouteObjectParser(XROSubobjectRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XroparseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes)voidserializeObject(Object object, io.netty.buffer.ByteBuf buffer)Serializes given object to bytes wrapped in given ByteBuf.-
Methods inherited from class org.opendaylight.protocol.pcep.parser.object.AbstractXROWithSubobjectsParser
parseSubobjects, serializeSubobject
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
-
-
-
Constructor Detail
-
PCEPExcludeRouteObjectParser
public PCEPExcludeRouteObjectParser(XROSubobjectRegistry registry)
-
-
Method Detail
-
parseObject
public Xro parseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes) throws PCEPDeserializerException
- Throws:
PCEPDeserializerException
-
serializeObject
public void serializeObject(Object object, io.netty.buffer.ByteBuf buffer)
Description copied from interface:ObjectSerializerSerializes given object to bytes wrapped in given ByteBuf.- Parameters:
object- PCEP object to be serializedbuffer- ByteBuf wrapper around serialized object
-
-