Class OF10MatchDeserializer

    • Constructor Detail

      • OF10MatchDeserializer

        public OF10MatchDeserializer()
    • Method Detail

      • 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 short decodeNwSrcMask​(long input)
        Decodes NwSrcMask from FlowWildcards (represented as uint32).
        Parameters:
        input - binary FlowWildcards
        Returns:
        decoded NwSrcMask
      • decodeNwDstMask

        public static short decodeNwDstMask​(long input)
        Decodes NwDstMask from FlowWildcards (represented as uint32).
        Parameters:
        input - binary FlowWildcards
        Returns:
        decoded NwDstMask