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 Details

    • AbstractActionCodec

      public AbstractActionCodec()
  • Method Details

    • 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)