Class ConntrackCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
org.opendaylight.openflowjava.nx.codec.action.ConntrackCodec
- All Implemented Interfaces:
OFDeserializer<Action>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<Action>
Action codec for conntrack.
- Author:
- Aswin Suryanarayanan.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final NiciraActionDeserializerKey
static final int
static final int
static final byte
static final byte
static final NiciraActionSerializerKey
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(io.netty.buffer.ByteBuf message) Transforms byte message into POJO/DTO (of type E).void
Transforms POJO/DTO into byte message (ByteBuf).Methods inherited from class org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
deserializeHeader, getExperimenterId, readNxmHeader, serializeHeader, skipPadding, writeNxmHeader, writePaddingAndSetLength
-
Field Details
-
CT_LENGTH
public static final int CT_LENGTH- See Also:
-
NX_NAT_LENGTH
public static final int NX_NAT_LENGTH- See Also:
-
SHORT_LENGTH
public static final int SHORT_LENGTH- See Also:
-
INT_LENGTH
public static final int INT_LENGTH- See Also:
-
NXAST_CONNTRACK_SUBTYPE
public static final byte NXAST_CONNTRACK_SUBTYPE- See Also:
-
NXAST_NAT_SUBTYPE
public static final byte NXAST_NAT_SUBTYPE- See Also:
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
-
Constructor Details
-
ConntrackCodec
public ConntrackCodec()
-
-
Method Details
-
serialize
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Parameters:
input
- object to be serializedoutBuffer
- output buffer
-
deserialize
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-