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 -
Method Summary
Modifier and TypeMethodDescriptionprotected static final ActionBuilderdeserializeHeader(io.netty.buffer.ByteBuf message) protected static final ExperimenterIdprotected static org.opendaylight.yangtools.yang.common.Uint64readNxmHeader(io.netty.buffer.ByteBuf message) protected static final voidserializeHeader(int msgLength, int subtype, io.netty.buffer.ByteBuf outBuffer) protected static final voidskipPadding(io.netty.buffer.ByteBuf message, int startIndex) protected static voidwriteNxmHeader(org.opendaylight.yangtools.yang.common.Uint64 value, io.netty.buffer.ByteBuf outBuffer) protected static final voidwritePaddingAndSetLength(io.netty.buffer.ByteBuf outBuffer, int startIndex) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.openflowjava.protocol.api.extensibility.OFDeserializer
deserializeMethods 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)
-