Class AbstractOxmMatchEntryDeserializer

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.deserialization.match.AbstractOxmMatchEntryDeserializer
All Implemented Interfaces:
HeaderDeserializer<MatchEntry>, OFDeserializer<MatchEntry>, OFGeneralDeserializer
Direct Known Subclasses:
AbstractOxmExperimenterMatchEntryDeserializer, OxmArpOpDeserializer, OxmArpShaDeserializer, OxmArpSpaDeserializer, OxmArpThaDeserializer, OxmArpTpaDeserializer, OxmEthDstDeserializer, OxmEthSrcDeserializer, OxmEthTypeDeserializer, OxmIcmpv4CodeDeserializer, OxmIcmpv4TypeDeserializer, OxmIcmpv6CodeDeserializer, OxmIcmpv6TypeDeserializer, OxmInPhyPortDeserializer, OxmInPortDeserializer, OxmIpDscpDeserializer, OxmIpEcnDeserializer, OxmIpProtoDeserializer, OxmIpv4DstDeserializer, OxmIpv4SrcDeserializer, OxmIpv6DstDeserializer, OxmIpv6ExtHdrDeserializer, OxmIpv6FlabelDeserializer, OxmIpv6NdSllDeserializer, OxmIpv6NdTargetDeserializer, OxmIpv6NdTllDeserializer, OxmIpv6SrcDeserializer, OxmMetadataDeserializer, OxmMplsBosDeserializer, OxmMplsLabelDeserializer, OxmMplsTcDeserializer, OxmPacketTypeDeserializer, OxmPbbIsidDeserializer, OxmSctpDstDeserializer, OxmSctpSrcDeserializer, OxmTcpDstDeserializer, OxmTcpSrcDeserializer, OxmTunnelIdDeserializer, OxmUdpDstDeserializer, OxmUdpSrcDeserializer, OxmVlanPcpDeserializer, OxmVlanVidDeserializer

public abstract class AbstractOxmMatchEntryDeserializer extends Object implements HeaderDeserializer<MatchEntry>, OFDeserializer<MatchEntry>
Base class for an Oxm match entry deserializer.
Author:
michal.polkorab
  • Constructor Details

    • AbstractOxmMatchEntryDeserializer

      protected AbstractOxmMatchEntryDeserializer(OxmClassBase oxmClass, MatchField oxmField)
    • AbstractOxmMatchEntryDeserializer

      protected AbstractOxmMatchEntryDeserializer(MatchField oxmField)
  • Method Details

    • deserialize

      public final MatchEntry deserialize(io.netty.buffer.ByteBuf input)
      Description copied from interface: OFDeserializer
      Transforms byte message into POJO/DTO (of type E).
      Specified by:
      deserialize in interface OFDeserializer<MatchEntry>
      Parameters:
      input - message as bytes in ByteBuf
      Returns:
      POJO/DTO
    • deserialize

      protected abstract void deserialize(io.netty.buffer.ByteBuf input, MatchEntryBuilder builder)
    • deserializeHeader

      public final MatchEntry deserializeHeader(io.netty.buffer.ByteBuf input)
      Description copied from interface: HeaderDeserializer
      Deserializes a byte message headers.
      Specified by:
      deserializeHeader in interface HeaderDeserializer<MatchEntry>
      Parameters:
      input - message as bytes in ByteBuf
      Returns:
      POJO/DTO
    • processHeader

      protected final MatchEntryBuilder processHeader(io.netty.buffer.ByteBuf input)
      Prepares match entry header - sets oxm_class, oxm_field, hasMask + sets the buffer.readerIndex() to the end of match entry - where augmentation starts.
      Parameters:
      input - input bytebuf
      Returns:
      MatchEntriesBuilder which can be filled with MatchEntry augmentation