Package org.onosproject.net.flow
Interface TrafficSelector
- 
- All Known Implementing Classes:
 DefaultTrafficSelector
public interface TrafficSelectorAbstraction of a slice of network traffic. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTrafficSelector.BuilderBuilder of traffic selector entities. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<Criterion>criteria()Returns selection criteria as an ordered list.CriteriongetCriterion(Criterion.Type type)Returns the selection criterion for a particular type, if it exists in this traffic selector. 
 - 
 
- 
- 
Method Detail
- 
criteria
Set<Criterion> criteria()
Returns selection criteria as an ordered list.- Returns:
 - list of criteria
 
 
- 
getCriterion
Criterion getCriterion(Criterion.Type type)
Returns the selection criterion for a particular type, if it exists in this traffic selector.- Parameters:
 type- criterion type to look up- Returns:
 - the criterion of the specified type if one exists, otherwise null
 
 
 - 
 
 -