Class PCEPPathKeyObjectParser
- java.lang.Object
-
- org.opendaylight.protocol.pcep.spi.CommonObjectParser
-
- org.opendaylight.protocol.pcep.parser.object.AbstractEROWithSubobjectsParser
-
- org.opendaylight.protocol.pcep.parser.object.PCEPPathKeyObjectParser
-
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
public final class PCEPPathKeyObjectParser extends AbstractEROWithSubobjectsParser
Parser forPathKey
.
-
-
Constructor Summary
Constructors Constructor Description PCEPPathKeyObjectParser(EROSubobjectRegistry subReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathKey
parseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes)
void
serializeObject(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.AbstractEROWithSubobjectsParser
parseSubobjects, serializeSubobject
-
Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
-
-
-
Constructor Detail
-
PCEPPathKeyObjectParser
public PCEPPathKeyObjectParser(EROSubobjectRegistry subReg)
-
-
Method Detail
-
parseObject
public PathKey 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:ObjectSerializer
Serializes given object to bytes wrapped in given ByteBuf.- Parameters:
object
- PCEP object to be serializedbuffer
- ByteBuf wrapper around serialized object
-
-