Class AbstractMacAddressFilterEntrySerializer<E extends MacAddressFilter>

java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMatchEntrySerializer<E,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
org.opendaylight.openflowplugin.impl.protocol.serialization.match.AbstractMacAddressFilterEntrySerializer<E>
All Implemented Interfaces:
MatchEntrySerializer
Direct Known Subclasses:
ArpSourceHardwareAddressEntrySerializer, ArpTargetHardwareAddressEntrySerializer, EthernetDestinationEntrySerializer, EthernetSourceEntrySerializer

public abstract class AbstractMacAddressFilterEntrySerializer<E extends MacAddressFilter> extends AbstractMatchEntrySerializer<E,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
  • Constructor Details

    • AbstractMacAddressFilterEntrySerializer

      protected AbstractMacAddressFilterEntrySerializer(int oxmClassCode, int oxmFieldCode)
  • Method Details

    • extractEntryMask

      protected final org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress extractEntryMask(E entry)
      Description copied from class: AbstractMatchEntrySerializer
      Extract the mask contained in an entry.
      Specified by:
      extractEntryMask in class AbstractMatchEntrySerializer<E extends MacAddressFilter,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
      Parameters:
      entry - entry to examine
      Returns:
      Mask, null if not present
    • serializeEntry

      protected final void serializeEntry(E entry, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress 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 extends MacAddressFilter,org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress>
      Parameters:
      entry - entry to serialize
      mask - mask as extracted from entry
      outBuffer - output buffer