Added support for RPCs to Binding-Aware SAL
[controller.git] / opendaylight / sal / yang-prototype / sal / sal-binding-api / src / main / java / org / opendaylight / controller / sal / binding / api / DataRefresher.java
index 56b2a9f4dabdb0c675360b8e417d1d2090f1a5db..0f9997651fd677dbb4fb01536278c43252d439c3 100644 (file)
@@ -7,9 +7,20 @@
  */\r
 package org.opendaylight.controller.sal.binding.api;\r
 \r
-import org.opendaylight.controller.sal.binding.api.BindingAwareProvider.ProviderFunctionality;\r
-\r
-public interface DataRefresher extends ProviderFunctionality {\r
+/**\r
+ * Trigger for refreshing of the data exposed by the {@link Provider}\r
+ * \r
+ * \r
+ * \r
+ */\r
+public interface DataRefresher extends\r
+        BindingAwareProvider.ProviderFunctionality {\r
 \r
+    /**\r
+     * Fired when some component explicitly requested the data refresh.\r
+     * \r
+     * The provider which exposed the {@link DataRefresher} should republish its\r
+     * provided data by editing the data in all affected data stores.\r
+     */\r
     void refreshData();\r
-}\r
+}
\ No newline at end of file