Class AbstractPceIdObjectParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractPceIdObjectParser
- All Implemented Interfaces:
ObjectParser,ObjectSerializer
- Direct Known Subclasses:
PCEPPceIdIPv4ObjectParser,PCEPPceIdIPv6ObjectParser
public abstract class AbstractPceIdObjectParser
extends CommonObjectParser
implements ObjectSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserializeObject(Object object, io.netty.buffer.ByteBuf buffer) Serializes given object to bytes wrapped in given ByteBuf.Methods inherited from class org.opendaylight.protocol.pcep.spi.CommonObjectParser
getObjectClass, getObjectTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.protocol.pcep.spi.ObjectParser
parseObject
-
Constructor Details
-
AbstractPceIdObjectParser
public AbstractPceIdObjectParser(int objectType)
-
-
Method Details
-
serializeObject
Description copied from interface:ObjectSerializerSerializes given object to bytes wrapped in given ByteBuf.- Specified by:
serializeObjectin interfaceObjectSerializer- Parameters:
object- PCEP object to be serializedbuffer- ByteBuf wrapper around serialized object
-