public class PCEPLoadBalancingObjectParser extends Object implements ObjectParser, ObjectSerializer
LoadBalancing
Constructor and Description |
---|
PCEPLoadBalancingObjectParser() |
Modifier and Type | Method and Description |
---|---|
LoadBalancing |
parseObject(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.
|
public static final int CLASS
public static final int TYPE
public LoadBalancing parseObject(ObjectHeader header, io.netty.buffer.ByteBuf bytes) throws PCEPDeserializerException
parseObject
in interface ObjectParser
PCEPDeserializerException
public void serializeObject(Object object, io.netty.buffer.ByteBuf buffer)
ObjectSerializer
serializeObject
in interface ObjectSerializer
object
- PCEP object to be serializedbuffer
- ByteBuf wrapper around serialized objectCopyright © 2018 OpenDaylight. All rights reserved.