public class MeterInstructionSerializer extends AbstractInstructionSerializer<MeterCase>
Constructor and Description |
---|
MeterInstructionSerializer() |
Modifier and Type | Method and Description |
---|---|
protected int |
getLength()
Get length.
|
protected int |
getType()
Get type.
|
void |
serialize(MeterCase input,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
serializeHeader
public void serialize(MeterCase input, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
serialize
in interface OFSerializer<MeterCase>
serialize
in class AbstractInstructionSerializer<MeterCase>
input
- object to be serializedoutBuffer
- output bufferprotected int getType()
AbstractInstructionSerializer
getType
in class AbstractInstructionSerializer<MeterCase>
protected int getLength()
AbstractInstructionSerializer
getLength
in class AbstractInstructionSerializer<MeterCase>
Copyright © 2019 OpenDaylight. All rights reserved.