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>
public class ResubmitCodec extends AbstractActionCodec
Codec for the NX_RESUBMIT and NX_RESUBMIT_TABLE.
-
-
Field Summary
Fields Modifier and Type Field Description static NiciraActionDeserializerKey
DESERIALIZER_KEY
static int
LENGTH
static byte
NXAST_RESUBMIT_SUBTYPE
static byte
NXAST_RESUBMIT_TABLE_SUBTYPE
static NiciraActionSerializerKey
SERIALIZER_KEY
static NiciraActionDeserializerKey
TABLE_DESERIALIZER_KEY
-
Constructor Summary
Constructors Constructor Description ResubmitCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
deserialize(io.netty.buffer.ByteBuf message)
Transforms byte message into POJO/DTO (of type E).byte
getSubType(ActionResubmit action)
void
serialize(Action input, io.netty.buffer.ByteBuf outBuffer)
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 Detail
-
LENGTH
public static final int LENGTH
- See Also:
- Constant Field Values
-
NXAST_RESUBMIT_SUBTYPE
public static final byte NXAST_RESUBMIT_SUBTYPE
- See Also:
- Constant Field Values
-
NXAST_RESUBMIT_TABLE_SUBTYPE
public static final byte NXAST_RESUBMIT_TABLE_SUBTYPE
- See Also:
- Constant Field Values
-
SERIALIZER_KEY
public static final NiciraActionSerializerKey SERIALIZER_KEY
-
DESERIALIZER_KEY
public static final NiciraActionDeserializerKey DESERIALIZER_KEY
-
TABLE_DESERIALIZER_KEY
public static final NiciraActionDeserializerKey TABLE_DESERIALIZER_KEY
-
-
Method Detail
-
getSubType
public byte getSubType(ActionResubmit action)
-
serialize
public void serialize(Action input, io.netty.buffer.ByteBuf outBuffer)
Description copied from interface:OFSerializer
Transforms POJO/DTO into byte message (ByteBuf).- Parameters:
input
- object to be serializedoutBuffer
- output buffer
-
deserialize
public Action deserialize(io.netty.buffer.ByteBuf message)
Description copied from interface:OFDeserializer
Transforms byte message into POJO/DTO (of type E).- Parameters:
message
- message as bytes in ByteBuf- Returns:
- POJO/DTO
-
-