Class AbstractExperimenterMatchEntrySerializer<E,​M>

    • Constructor Detail

      • AbstractExperimenterMatchEntrySerializer

        protected AbstractExperimenterMatchEntrySerializer​(int oxmFieldCode,
                                                           int valueLength,
                                                           long experimenterId)
    • Method Detail

      • serializeEntry

        protected final void serializeEntry​(E entry,
                                            M mask,
                                            io.netty.buffer.ByteBuf outBuffer)
        Description copied from class: AbstractMatchEntrySerializer
        Extract the corresponding entry from a match.
        Specified by:
        serializeEntry in class AbstractMatchEntrySerializer<E,​M>
        Parameters:
        entry - entry to serialize
        mask - mask as extracted from entry
        outBuffer - output buffer
      • serializeEntryContent

        protected abstract void serializeEntryContent​(@NonNull E entry,
                                                      @Nullable M mask,
                                                      @NonNull io.netty.buffer.ByteBuf outBuffer)
        Extract the corresponding entry from a match.
        Parameters:
        entry - entry to serialize
        outBuffer - output buffer