Initial opendaylight infrastructure commit!!
[controller.git] / opendaylight / sal / api / src / main / java / org / opendaylight / controller / sal / topology / IPluginInTopologyService.java
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 (file)
index 0000000..3744d80
--- /dev/null
@@ -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();
+}