Class FinTimeoutCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
org.opendaylight.openflowjava.nx.codec.action.FinTimeoutCodec
- All Implemented Interfaces:
OFDeserializer<Action>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<Action>
Codec for the NX_FIN_TIMEOUT.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NiciraActionDeserializerKey
static final int
static final byte
static final NiciraActionSerializerKey
-
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
-
LENGTH
public static final int LENGTH- See Also:
-
NXAST_FIN_TIMEOUT_SUBTYPE
public static final byte NXAST_FIN_TIMEOUT_SUBTYPE- See Also:
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
-
Constructor Details
-
FinTimeoutCodec
public FinTimeoutCodec()
-
-
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
-