Class AbstractPccIdReqObjectParser
java.lang.Object
org.opendaylight.protocol.pcep.spi.CommonObjectParser
org.opendaylight.protocol.pcep.parser.object.AbstractPccIdReqObjectParser
- All Implemented Interfaces:
ObjectParser
,ObjectSerializer
- Direct Known Subclasses:
PCEPPccIdReqIPv4ObjectParser
,PCEPPccIdReqIPv6ObjectParser
public abstract class AbstractPccIdReqObjectParser
extends CommonObjectParser
implements ObjectSerializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.spi.CommonObjectParser
getObjectClass, getObjectType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.protocol.pcep.spi.ObjectParser
parseObject
-
Constructor Details
-
AbstractPccIdReqObjectParser
public AbstractPccIdReqObjectParser(int objectType)
-
-
Method Details
-
serializeObject
Description copied from interface:ObjectSerializer
Serializes given object to bytes wrapped in given ByteBuf.- Specified by:
serializeObject
in interfaceObjectSerializer
- Parameters:
object
- PCEP object to be serializedbuffer
- ByteBuf wrapper around serialized object
-