Class AbstractMatchCodec

    • Field Detail

      • headerWithMask

        protected NxmHeader headerWithMask
      • headerWithoutMask

        protected NxmHeader headerWithoutMask
    • Constructor Detail

      • AbstractMatchCodec

        public AbstractMatchCodec()
    • Method Detail

      • deserializeHeaderToBuilder

        protected MatchEntryBuilder deserializeHeaderToBuilder​(io.netty.buffer.ByteBuf message)
      • serializeHeader

        public void serializeHeader​(MatchEntry input,
                                    io.netty.buffer.ByteBuf outBuffer)
        Description copied from interface: HeaderSerializer
        Serializes object headers (e.g. for Multipart message - Table Features).
        Specified by:
        serializeHeader in interface HeaderSerializer<MatchEntry>
        input - object whose headers should be serialized
        outBuffer - output buffer
      • serializeHeader

        public void serializeHeader​(NxmHeader input,
                                    io.netty.buffer.ByteBuf outBuffer)
      • getHeader

        protected NxmHeader getHeader​(boolean hasMask)
      • buildHeader

        protected NxmHeader buildHeader​(boolean hasMask)
      • getHeaderWithoutHasMask

        public NxmHeader getHeaderWithoutHasMask()
      • getHeaderWithHasMask

        public NxmHeader getHeaderWithHasMask()
      • getNxmFieldCode

        public abstract int getNxmFieldCode()
        Returns the numeric representation of nxm_field.
      • getOxmClassCode

        public abstract int getOxmClassCode()
        Returns the numeric representation of oxm_class.
      • getValueLength

        public abstract int getValueLength()
        Returns the match entry value length.
      • getNxmField

        public abstract Class<? extends MatchField> getNxmField()
        Returns the nxm_field class.
      • getOxmClass

        public abstract Class<? extends OxmClassBase> getOxmClass()
        Returns the oxm_class class.