Class PCEPReportedRouteObjectParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractRROWithSubobjectsParser
org.opendaylight.protocol.pcep.parser.object.PCEPReportedRouteObjectParser
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
Parser for
Rro
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparseObject
(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.AbstractRROWithSubobjectsParser
parseSubobjects, serializeSubobject
Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
Field Details
-
CLASS
public static final int CLASS- See Also:
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
PCEPReportedRouteObjectParser
-
-
Method Details
-
parseObject
public Rro parseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes) throws PCEPDeserializerException - Throws:
PCEPDeserializerException
-
serializeObject
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
-