X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fforwardingrulesmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fforwardingrulesmanager%2FIForwardingRulesManagerAware.java;fp=opendaylight%2Fforwardingrulesmanager%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fforwardingrulesmanager%2FIForwardingRulesManagerAware.java;h=e2ccdd60c31c40b948ab2689195a0a890f02cd6a;hb=30c334b11097201c8f8a68263bc01efb869c778b;hp=0000000000000000000000000000000000000000;hpb=f9de1cd89c17888a2bd02486d5f7519f0b391bba;p=controller.git diff --git a/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java new file mode 100644 index 0000000000..e2ccdd60c3 --- /dev/null +++ b/opendaylight/forwardingrulesmanager/api/src/main/java/org/opendaylight/controller/forwardingrulesmanager/IForwardingRulesManagerAware.java @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.controller.forwardingrulesmanager; + +/** + * The interface which describes the methods forwarding rules manager will call + * for notifying the listeners of policy installation updates. + * + */ +public interface IForwardingRulesManagerAware { + + /** + * Inform the listeners that a troubleshooting information was added or + * removed for the specified policy. + * + * @param policyName + * the policy affected + * @param add + * true if the troubleshooting information was added, false + * otherwise + */ + public void policyUpdate(String policyName, boolean add); +}