Class AbstractOxmMatchEntryDeserializer

    • Constructor Detail

      • AbstractOxmMatchEntryDeserializer

        protected AbstractOxmMatchEntryDeserializer​(Class<? extends OxmClassBase> oxmClass,
                                                    Class<? extends MatchField> oxmField)
      • AbstractOxmMatchEntryDeserializer

        protected AbstractOxmMatchEntryDeserializer​(Class<? extends MatchField> oxmField)
    • Method Detail

      • deserialize

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

        protected abstract void deserialize​(io.netty.buffer.ByteBuf input,
                                            MatchEntryBuilder builder)
      • processHeader

        protected final MatchEntryBuilder processHeader​(io.netty.buffer.ByteBuf input)
        Prepares match entry header - sets oxm_class, oxm_field, hasMask + sets the buffer.readerIndex() to the end of match entry - where augmentation starts.
        Parameters:
        input - input bytebuf
        Returns:
        MatchEntriesBuilder which can be filled with MatchEntry augmentation