Package org.onosproject.net.pi.runtime
Class PiFieldMatch
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiFieldMatch
-
- Direct Known Subclasses:
PiExactFieldMatch
,PiLpmFieldMatch
,PiRangeFieldMatch
,PiTernaryFieldMatch
public abstract class PiFieldMatch extends Object
Instance of a field match in a protocol-independent pipeline.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PiMatchFieldId
fieldId()
Returns the identifier of the field to be matched.abstract PiMatchType
type()
Returns the type of match to be performed.
-
-
-
Method Detail
-
fieldId
public final PiMatchFieldId fieldId()
Returns the identifier of the field to be matched.- Returns:
- a header field ID value
-
type
public abstract PiMatchType type()
Returns the type of match to be performed.- Returns:
- a match type value
-
-