Interface FlowRuleProvider

  • All Superinterfaces:
    Provider

    public interface FlowRuleProvider
    extends Provider
    Abstraction of a flow rule provider.
    • Method Detail

      • applyFlowRule

        void applyFlowRule​(FlowRule... flowRules)
        Instructs the provider to apply the specified flow rules to their respective devices.
        Parameters:
        flowRules - one or more flow rules throws SomeKindOfException that indicates which ones were applied and which ones failed
      • removeFlowRule

        void removeFlowRule​(FlowRule... flowRules)
        Instructs the provider to remove the specified flow rules to their respective devices.
        Parameters:
        flowRules - one or more flow rules throws SomeKindOfException that indicates which ones were applied and which ones failed
      • executeBatch

        void executeBatch​(FlowRuleBatchOperation batch)
        Installs a batch of flow rules. Each flowrule is associated to an operation which results in either addition, removal or modification.
        Parameters:
        batch - a batch of flow rules