Class AbstractMatchEntrySerializer.HeaderWriter<E,​M>

    • Constructor Detail

      • HeaderWriter

        protected HeaderWriter()
    • Method Detail

      • writeHeader

        protected abstract void writeHeader​(@NonNull E entry,
                                            @Nullable M mask,
                                            @NonNull io.netty.buffer.ByteBuf outBuffer)
        Write out the header for a particular entry, containing specified mask, to the provided output buffer.
        Parameters:
        entry - match entry for which to write the header
        mask - mask as extracted from the match entry, may be null
        outBuffer - output buffer
      • writeHeader

        protected static final void writeHeader​(int oxmClassCode,
                                                int oxmFieldCode,
                                                int valueLength,
                                                boolean hasMask,
                                                io.netty.buffer.ByteBuf outBuffer)
      • writeHeader

        protected static final void writeHeader​(int oxmClassCode,
                                                int oxmFieldCode,
                                                int valueLength,
                                                boolean hasMask,
                                                int extraLength,
                                                io.netty.buffer.ByteBuf outBuffer)