Class PCEPExplicitRouteObjectParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractEROWithSubobjectsParser
org.opendaylight.protocol.pcep.parser.object.PCEPExplicitRouteObjectParser
- All Implemented Interfaces:
ObjectParser,ObjectSerializer
Parser for
Ero.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseObject(ObjectHeader header, io.netty.buffer.ByteBuf buffer) 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.AbstractEROWithSubobjectsParser
parseSubobjects, serializeSubobjectMethods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectType
-
Constructor Details
-
PCEPExplicitRouteObjectParser
-
-
Method Details
-
parseObject
public Ero parseObject(ObjectHeader header, io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException - Throws:
PCEPDeserializerException
-
serializeObject
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
-