Class AbstractActionCodec
java.lang.Object
org.opendaylight.openflowjava.nx.codec.action.AbstractActionCodec
- All Implemented Interfaces:
OFDeserializer<Action>
,OFGeneralDeserializer
,OFGeneralSerializer
,OFSerializer<Action>
- Direct Known Subclasses:
ConntrackCodec
,CtClearCodec
,DecapCodec
,DecNshTtlCodec
,EncapCodec
,FinTimeoutCodec
,LearnCodec
,MultipathCodec
,OutputReg2Codec
,OutputRegCodec
,RegLoad2Codec
,RegLoadCodec
,RegMoveCodec
,ResubmitCodec
public abstract class AbstractActionCodec
extends Object
implements OFSerializer<Action>, OFDeserializer<Action>
Base class for an action codec.
- Author:
- msunal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static final ActionBuilder
deserializeHeader
(io.netty.buffer.ByteBuf message) protected static final ExperimenterId
protected static org.opendaylight.yangtools.yang.common.Uint64
readNxmHeader
(io.netty.buffer.ByteBuf message) protected static final void
serializeHeader
(int msgLength, int subtype, io.netty.buffer.ByteBuf outBuffer) protected static final void
skipPadding
(io.netty.buffer.ByteBuf message, int startIndex) protected static void
writeNxmHeader
(org.opendaylight.yangtools.yang.common.Uint64 value, io.netty.buffer.ByteBuf outBuffer) protected static final void
writePaddingAndSetLength
(io.netty.buffer.ByteBuf outBuffer, int startIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFDeserializer
deserialize
Methods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFSerializer
serialize
-
Constructor Details
-
AbstractActionCodec
public AbstractActionCodec()
-
-
Method Details
-
serializeHeader
protected static final void serializeHeader(int msgLength, int subtype, io.netty.buffer.ByteBuf outBuffer) -
deserializeHeader
-
getExperimenterId
-
skipPadding
protected static final void skipPadding(io.netty.buffer.ByteBuf message, int startIndex) -
writePaddingAndSetLength
protected static final void writePaddingAndSetLength(io.netty.buffer.ByteBuf outBuffer, int startIndex) -
writeNxmHeader
protected static void writeNxmHeader(org.opendaylight.yangtools.yang.common.Uint64 value, io.netty.buffer.ByteBuf outBuffer) -
readNxmHeader
protected static org.opendaylight.yangtools.yang.common.Uint64 readNxmHeader(io.netty.buffer.ByteBuf message)
-