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