public class LearnCodec extends AbstractActionCodec
| Modifier and Type | Field and Description |
|---|---|
static NiciraActionDeserializerKey |
DESERIALIZER_KEY |
static byte |
NXAST_LEARN_SUBTYPE |
static NiciraActionSerializerKey |
SERIALIZER_KEY |
| Constructor and Description |
|---|
LearnCodec() |
| Modifier and Type | Method and Description |
|---|---|
Action |
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).
|
void |
serialize(Action input,
io.netty.buffer.ByteBuf outBuffer)
Transforms POJO/DTO into byte message (ByteBuf).
|
deserializeHeader, getExperimenterId, readNxmHeader, serializeHeader, skipPadding, writeNxmHeader, writePaddingAndSetLengthpublic static final byte NXAST_LEARN_SUBTYPE
public static final NiciraActionSerializerKey SERIALIZER_KEY
public static final NiciraActionDeserializerKey DESERIALIZER_KEY
public void serialize(Action input, io.netty.buffer.ByteBuf outBuffer)
OFSerializerinput - object to be serializedoutBuffer - output bufferpublic Action deserialize(io.netty.buffer.ByteBuf message)
OFDeserializermessage - message as bytes in ByteBufCopyright © 2019 OpenDaylight. All rights reserved.