public class PCEPExplicitRouteObjectParser extends AbstractEROWithSubobjectsParser
Ero| Constructor and Description |
|---|
PCEPExplicitRouteObjectParser(EROSubobjectRegistry subobjReg) |
| Modifier and Type | Method and Description |
|---|---|
Ero |
parseObject(ObjectHeader header,
io.netty.buffer.ByteBuf buffer) |
void |
serializeObject(Object object,
io.netty.buffer.ByteBuf buffer)
Serializes given object to bytes wrapped in given ByteBuf.
|
parseSubobjects, serializeSubobjectpublic static final int CLASS
public static final int TYPE
public PCEPExplicitRouteObjectParser(EROSubobjectRegistry subobjReg)
public Ero parseObject(ObjectHeader header, io.netty.buffer.ByteBuf buffer) throws PCEPDeserializerException
PCEPDeserializerExceptionpublic void serializeObject(Object object, io.netty.buffer.ByteBuf buffer)
ObjectSerializerobject - PCEP object to be serializedbuffer - ByteBuf wrapper around serialized objectCopyright © 2019 OpenDaylight. All rights reserved.