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
Constructors Constructor Description AbstractActionCodec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static ActionBuilder
deserializeHeader(io.netty.buffer.ByteBuf message)
protected static ExperimenterId
getExperimenterId()
protected static org.opendaylight.yangtools.yang.common.Uint64
readNxmHeader(io.netty.buffer.ByteBuf message)
protected static void
serializeHeader(int msgLength, int subtype, io.netty.buffer.ByteBuf outBuffer)
protected static 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 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
-
-
-
-
Method Detail
-
serializeHeader
protected static final void serializeHeader(int msgLength, int subtype, io.netty.buffer.ByteBuf outBuffer)
-
deserializeHeader
protected static final ActionBuilder deserializeHeader(io.netty.buffer.ByteBuf message)
-
getExperimenterId
protected static final ExperimenterId 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)
-
-