public class ConntrackCodec extends AbstractActionCodec
Modifier and Type | Field and Description |
---|---|
static int |
CT_LENGTH |
static NiciraActionDeserializerKey |
DESERIALIZER_KEY |
static int |
INT_LENGTH |
static int |
NX_NAT_LENGTH |
static byte |
NXAST_CONNTRACK_SUBTYPE |
static byte |
NXAST_NAT_SUBTYPE |
static NiciraActionSerializerKey |
SERIALIZER_KEY |
static int |
SHORT_LENGTH |
Constructor and Description |
---|
ConntrackCodec() |
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, writePaddingAndSetLength
public static final int CT_LENGTH
public static final int NX_NAT_LENGTH
public static final int SHORT_LENGTH
public static final int INT_LENGTH
public static final byte NXAST_CONNTRACK_SUBTYPE
public static final byte NXAST_NAT_SUBTYPE
public static final NiciraActionSerializerKey SERIALIZER_KEY
public static final NiciraActionDeserializerKey DESERIALIZER_KEY
public void serialize(Action input, io.netty.buffer.ByteBuf outBuffer)
OFSerializer
input
- object to be serializedoutBuffer
- output bufferpublic Action deserialize(io.netty.buffer.ByteBuf message)
OFDeserializer
message
- message as bytes in ByteBufCopyright © 2020 OpenDaylight. All rights reserved.