Class OF10MatchDeserializer

java.lang.Object
org.opendaylight.openflowjava.protocol.impl.util.OF10MatchDeserializer
All Implemented Interfaces:
OFDeserializer<MatchV10>, OFGeneralDeserializer

public class OF10MatchDeserializer extends Object implements OFDeserializer<MatchV10>
Deserializes ofp_match (OpenFlow v1.0) structure.
Author:
michal.polkorab
  • Constructor Details

    • OF10MatchDeserializer

      public OF10MatchDeserializer()
  • Method Details

    • deserialize

      public MatchV10 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<MatchV10>
      Parameters:
      input - message as bytes in ByteBuf
      Returns:
      POJO/DTO
    • createWildcards

      public static FlowWildcardsV10 createWildcards(long input)
      Decodes FlowWildcards.
      Parameters:
      input - input ByteBuf
      Returns:
      decoded FlowWildcardsV10
    • decodeNwSrcMask

      public static @NonNull org.opendaylight.yangtools.yang.common.Uint8 decodeNwSrcMask(long input)
      Decodes NwSrcMask from FlowWildcards (represented as uint32).
      Parameters:
      input - binary FlowWildcards
      Returns:
      decoded NwSrcMask
    • decodeNwDstMask

      public static @NonNull org.opendaylight.yangtools.yang.common.Uint8 decodeNwDstMask(long input)
      Decodes NwDstMask from FlowWildcards (represented as uint32).
      Parameters:
      input - binary FlowWildcards
      Returns:
      decoded NwDstMask