Class PiExactFieldMatch


  • @Beta
    public final class PiExactFieldMatch
    extends PiFieldMatch
    Instance of an exact field match in a protocol-independent pipeline.
    • Constructor Detail

      • PiExactFieldMatch

        public PiExactFieldMatch​(PiMatchFieldId fieldId,
                                 org.onlab.util.ImmutableByteSequence value)
        Creates an exact field match.
        Parameters:
        fieldId - field identifier
        value - value
    • Method Detail

      • value

        public org.onlab.util.ImmutableByteSequence value()
        Returns the byte sequence value to be matched.
        Returns:
        an immutable byte sequence
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object