Class ResubmitCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
org.opendaylight.openflowjava.nx.codec.action.ResubmitCodec
- All Implemented Interfaces:
OFDeserializer<Action>,OFGeneralDeserializer,OFGeneralSerializer,OFSerializer<Action>
Codec for the NX_RESUBMIT and NX_RESUBMIT_TABLE.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NiciraActionDeserializerKeystatic final intstatic final bytestatic final bytestatic final NiciraActionSerializerKeystatic final NiciraActionDeserializerKey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(io.netty.buffer.ByteBuf message) Transforms byte message into POJO/DTO (of type E).bytegetSubType(ActionResubmit action) voidTransforms 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_RESUBMIT_SUBTYPE
public static final byte NXAST_RESUBMIT_SUBTYPE- See Also:
-
NXAST_RESUBMIT_TABLE_SUBTYPE
public static final byte NXAST_RESUBMIT_TABLE_SUBTYPE- See Also:
-
SERIALIZER_KEY
-
DESERIALIZER_KEY
-
TABLE_DESERIALIZER_KEY
-
-
Constructor Details
-
ResubmitCodec
public ResubmitCodec()
-
-
Method Details
-
getSubType
-
serialize
Description copied from interface:OFSerializerTransforms POJO/DTO into byte message (ByteBuf).- Parameters:
input- object to be serializedoutBuffer- output buffer
-
deserialize
Description copied from interface:OFDeserializerTransforms byte message into POJO/DTO (of type E).- Parameters:
message- message as bytes in ByteBuf- Returns:
- POJO/DTO
-