Interface TrafficSelector

  • All Known Implementing Classes:
    DefaultTrafficSelector

    public interface TrafficSelector
    Abstraction of a slice of network traffic.
    • 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