BIND 10 master, updated. 9d7bd1274b7ff4578e108c8c13bad81cc2867d14 [2937] Interface of the notify method

BIND 10 source code commits bind10-changes at lists.isc.org
Mon May 20 14:59:04 UTC 2013


The branch, master has been updated
       via  9d7bd1274b7ff4578e108c8c13bad81cc2867d14 (commit)
      from  fededac895f51f0d3aebe33486e0c7303812eb34 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9d7bd1274b7ff4578e108c8c13bad81cc2867d14
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Mon May 20 16:58:40 2013 +0200

    [2937] Interface of the notify method

-----------------------------------------------------------------------

Summary of changes:
 src/lib/config/ccsession.h |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/lib/config/ccsession.h b/src/lib/config/ccsession.h
index 995a5cd..aee6518 100644
--- a/src/lib/config/ccsession.h
+++ b/src/lib/config/ccsession.h
@@ -425,6 +425,23 @@ public:
                                            params =
                                            isc::data::ConstElementPtr());
 
+    /// \brief Send a notification to subscribed clients
+    ///
+    /// Send a notification message to all clients subscribed to the given
+    /// notification group.
+    ///
+    /// \param notification_group This parameter (indirectly) signifies what
+    ///     clients should receive the notification. Only the clients that
+    ///     subscribed to notifications on the same group receive it.
+    /// \param name The name of the event to notify about (for example
+    ///     `config_changed`).
+    /// \param params Other parameters that describe the event. This might
+    ///     be, for example, the new configuration value.
+    void notify(const std::string& notification_group,
+                const std::string& name,
+                const isc::data::ConstElementPtr& params =
+                    isc::data::ConstElementPtr());
+
     /// \brief Convenience version of rpcCall
     ///
     /// This is exactly the same as the previous version of rpcCall, except



More information about the bind10-changes mailing list