Class AbstractOxmExperimenterMatchEntrySerializer

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.serialization.match.AbstractOxmMatchEntrySerializer
org.opendaylight.openflowjava.protocol.impl.serialization.match.ext.AbstractOxmExperimenterMatchEntrySerializer
All Implemented Interfaces:
HeaderSerializer<MatchEntry>, OFGeneralSerializer, OFSerializer<MatchEntry>
Direct Known Subclasses:
OnfOxmTcpFlagsSerializer

public abstract class AbstractOxmExperimenterMatchEntrySerializer extends AbstractOxmMatchEntrySerializer
Created by Anil Vishnoi (avishnoi@Brocade.com) on 7/25/16.
  • Constructor Details

    • AbstractOxmExperimenterMatchEntrySerializer

      public AbstractOxmExperimenterMatchEntrySerializer()
  • Method Details

    • serialize

      public void serialize(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
      Description copied from interface: OFSerializer
      Transforms POJO/DTO into byte message (ByteBuf).
      Specified by:
      serialize in interface OFSerializer<MatchEntry>
      Overrides:
      serialize in class AbstractOxmMatchEntrySerializer
      Parameters:
      entry - object to be serialized
      outBuffer - output buffer
    • serializeHeader

      public void serializeHeader(MatchEntry entry, io.netty.buffer.ByteBuf outBuffer)
      Description copied from interface: HeaderSerializer
      Serializes object headers (e.g. for Multipart message - Table Features).
      Specified by:
      serializeHeader in interface HeaderSerializer<MatchEntry>
      Overrides:
      serializeHeader in class AbstractOxmMatchEntrySerializer
      Parameters:
      entry - object whose headers should be serialized
      outBuffer - output buffer
    • writeOxmFieldAndLength

      protected static void writeOxmFieldAndLength(io.netty.buffer.ByteBuf out, int fieldValue, boolean hasMask, int lengthArg)
    • serializeExperimenterId

      protected ExperimenterIdCase serializeExperimenterId(MatchEntry matchEntry, io.netty.buffer.ByteBuf out)
    • getExperimenterId

      protected abstract org.opendaylight.yangtools.yang.common.Uint32 getExperimenterId()
      Returns the Experimenter match entry ID.