Class AbstractExperimenterMatchEntrySerializer<E,M>

java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,M>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractExperimenterMatchEntrySerializer<E,M>
All Implemented Interfaces:
MatchEntrySerializer
Direct Known Subclasses:
TcpFlagsEntrySerializer

public abstract class AbstractExperimenterMatchEntrySerializer<E,M> extends AbstractMatchEntrySerializer<E,M>
  • Constructor Details

    • AbstractExperimenterMatchEntrySerializer

      protected AbstractExperimenterMatchEntrySerializer(AbstractMatchEntrySerializer.HeaderWriter<E,M> headerWriter, long experimenterId)
    • AbstractExperimenterMatchEntrySerializer

      protected AbstractExperimenterMatchEntrySerializer(int oxmFieldCode, int valueLength, long experimenterId)
  • Method Details

    • serializeEntry

      protected final void serializeEntry(E entry, M mask, io.netty.buffer.ByteBuf outBuffer)
      Description copied from class: AbstractMatchEntrySerializer
      Extract the corresponding entry from a match.
      Specified by:
      serializeEntry in class AbstractMatchEntrySerializer<E,M>
      Parameters:
      entry - entry to serialize
      mask - mask as extracted from entry
      outBuffer - output buffer
    • serializeEntryContent

      protected abstract void serializeEntryContent(@NonNull E entry, @Nullable M mask, @NonNull io.netty.buffer.ByteBuf outBuffer)
      Extract the corresponding entry from a match.
      Parameters:
      entry - entry to serialize
      outBuffer - output buffer