Class AbstractMatchEntryDeserializer

java.lang.Object
org.opendaylight.openflowplugin.impl.protocol.deserialization.match.AbstractMatchEntryDeserializer
All Implemented Interfaces:
MatchEntryDeserializer
Direct Known Subclasses:
ArpOpEntryDeserializer, ArpSourceHardwareAddressEntryDeserializer, ArpSourceTransportAddressEntryDeserializer, ArpTargetHardwareAddressEntryDeserializer, ArpTargetTransportAddressEntryDeserializer, EthernetDestinationEntryDeserializer, EthernetSourceEntryDeserializer, EthernetTypeEntryDeserializer, Icmpv4CodeEntryDeserializer, Icmpv4TypeEntryDeserializer, Icmpv6CodeEntryDeserializer, Icmpv6TypeEntryDeserializer, InPhyPortEntryDeserializer, InPortEntryDeserializer, IpDscpEntryDeserializer, IpEcnEntryDeserializer, IpProtoEntryDeserializer, Ipv4DestinationEntryDeserializer, Ipv4SourceEntryDeserializer, Ipv6DestinationEntryDeserializer, Ipv6ExtHeaderEntryDeserializer, Ipv6FlabelEntryDeserializer, Ipv6NdSllEntryDeserializer, Ipv6NdTargetEntryDeserializer, Ipv6NdTllEntryDeserializer, Ipv6SourceEntryDeserializer, MetadataEntryDeserializer, MplsBosEntryDeserializer, MplsLabelEntryDeserializer, MplsTcEntryDeserializer, PacketTypeEntryDeserializer, PbbEntryDeserializer, SctpDestinationPortEntryDeserializer, SctpSourcePortEntryDeserializer, TcpDestinationPortEntryDeserializer, TcpFlagsEntryDeserializer, TcpSourcePortEntryDeserializer, TunnelIdEntryDeserializer, UdpDestinationPortEntryDeserializer, UdpSourcePortEntryDeserializer, VlanPcpEntryDeserializer, VlanVidEntryDeserializer

public abstract class AbstractMatchEntryDeserializer extends Object implements MatchEntryDeserializer
  • Constructor Details

    • AbstractMatchEntryDeserializer

      public AbstractMatchEntryDeserializer()
  • Method Details

    • processHeader

      protected static boolean processHeader(io.netty.buffer.ByteBuf in)
      Processes match entry header and returns if it have mask, or not.
      Parameters:
      in - input buffer
      Returns:
      true if match entry has mask, false otherwise
    • readPrefix

      protected static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix readPrefix(io.netty.buffer.ByteBuf message, boolean hasMask)
      Read Ipv4Prefix from message.
      Parameters:
      message - buffered message
      hasMask - determines if prefix has mask or not
      Returns:
      IPv4 prefix
    • throwErrorOnMalformed

      protected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName)
      Throw error on malformed match builder input.
      Parameters:
      builder - match builder
      propertyName - name of property that already containsData
    • throwErrorOnMalformed

      protected static void throwErrorOnMalformed(MatchBuilder builder, String propertyName, String fieldName)
      Throw error on malformed match builder input.
      Parameters:
      builder - match builder
      propertyName - name of property that already containsData