X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Ftopology%2FIPluginInTopologyService.java;fp=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Ftopology%2FIPluginInTopologyService.java;h=3744d8099fc2e39dbccc1da0c7a772ae738fa318;hb=42210c03b0a4c54706320ba9f55794c0abd4d201;hp=0000000000000000000000000000000000000000;hpb=7576b38152b393793b1c9ec3df0ff86685f95236;p=controller.git diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/topology/IPluginInTopologyService.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/topology/IPluginInTopologyService.java new file mode 100644 index 0000000000..3744d8099f --- /dev/null +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/topology/IPluginInTopologyService.java @@ -0,0 +1,36 @@ + +/* + * 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.sal.topology; + +/** + * @file IPluginInTopologyService.java + * + * @brief Methods that are invoked from SAL toward the protocol + * plugin. + * + * For example if SAL startup late in respect to a protocol plugin, or + * restarts, we need away to sollicit the push of older updates from + * Protocol Plugins this interface serve the purpose. This a practical + * example of the type of service provided by this interface + */ + +/** + * Methods that are invoked from SAL toward the protocol + * plugin to sollicit Topoloy updates + * + */ +public interface IPluginInTopologyService { + /** + * Tell to protocol plugin that is time to send the updates of the + * current topology because someone joined late the game + * + */ + public void sollicitRefresh(); +}