java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.matchfield.AbstractMatchFieldSerializer
All Implemented Interfaces:
OFGeneralSerializer, OFSerializer<SetFieldMatch>
Direct Known Subclasses:
ArpOpMatchFieldSerializer, ArpShaMatchFieldSerializer, ArpSpaMatchFieldSerializer, ArpThaMatchFieldSerializer, ArpTpaMatchFieldSerializer, EthDstMatchFieldSerializer, EthSrcMatchFieldSerializer, EthTypeMatchFieldSerializer, Icmpv4CodeMatchFieldSerializer, Icmpv4TypeMatchFieldSerializer, Icmpv6CodeMatchFieldSerializer, Icmpv6TypeMatchFieldSerializer, InPhyPortMatchFieldSerializer, InPortMatchFieldSerializer, IpDscpMatchFieldSerializer, IpEcnMatchFieldSerializer, IpProtoMatchFieldSerializer, Ipv4DstMatchFieldSerializer, Ipv4SrcMatchFieldSerializer, Ipv6DstMatchFieldSerializer, Ipv6ExtHdrMatchFieldSerializer, Ipv6FlabelMatchFieldSerializer, Ipv6NdSllMatchFieldSerializer, Ipv6NdTargetMatchFieldSerializer, Ipv6NdTllMatchFieldSerializer, Ipv6SrcMatchFieldSerializer, MetadataMatchFieldSerializer, MplsBosMatchFieldSerializer, MplsLabelMatchFieldSerializer, MplsTcMatchFieldSerializer, PbbIsidMatchFieldSerializer, SctpDstMatchFieldSerializer, SctpSrcMatchFieldSerializer, TcpDstMatchFieldSerializer, TcpFlagsMatchFieldSerializer, TcpSrcMatchFieldSerializer, TunnelIdMatchFieldSerializer, UdpDstMatchFieldSerializer, UdpSrcMatchFieldSerializer, VlanPcpMatchFieldSerializer, VlanVidMatchFieldSerializer

public abstract class AbstractMatchFieldSerializer extends Object implements OFSerializer<SetFieldMatch>
  • Constructor Details

    • AbstractMatchFieldSerializer

      public AbstractMatchFieldSerializer()
  • Method Details

    • serialize

      public void serialize(SetFieldMatch setFieldMatch, io.netty.buffer.ByteBuf byteBuf)
      Description copied from interface: OFSerializer
      Transforms POJO/DTO into byte message (ByteBuf).
      Specified by:
      serialize in interface OFSerializer<SetFieldMatch>
      Parameters:
      setFieldMatch - object to be serialized
      byteBuf - output buffer
    • getOxmClassCode

      protected abstract int getOxmClassCode()
    • getOxmFieldCode

      protected abstract int getOxmFieldCode()
    • getValueLength

      protected abstract int getValueLength()