BIND 10 trac2930, updated. 1248e88ace533f61e4f8865fafa5f0c89470c6cd [2930] Include forgotten note about not blocking
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 23 09:11:37 UTC 2013
The branch, trac2930 has been updated
via 1248e88ace533f61e4f8865fafa5f0c89470c6cd (commit)
via e8a9043a2508edd209a01facb71fe4bac4d9eceb (commit)
via cd146974efff9794c989296158c0e05997da1edf (commit)
from 4b68c9bb855e1cee112ed6a0c3dd398048930824 (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 1248e88ace533f61e4f8865fafa5f0c89470c6cd
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Thu May 23 10:51:12 2013 +0200
[2930] Include forgotten note about not blocking
commit e8a9043a2508edd209a01facb71fe4bac4d9eceb
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Thu May 23 10:47:45 2013 +0200
[2930] Replace example for a more obvious one
commit cd146974efff9794c989296158c0e05997da1edf
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date: Thu May 23 10:39:52 2013 +0200
[2930] Adjust terminology in docs
So it is the same as in the ipc-high.txt.
-----------------------------------------------------------------------
Summary of changes:
src/lib/config/ccsession.h | 13 +++++++------
src/lib/python/isc/config/ccsession.py | 15 +++++++++------
2 files changed, 16 insertions(+), 12 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/config/ccsession.h b/src/lib/config/ccsession.h
index fd93545..04e3046 100644
--- a/src/lib/config/ccsession.h
+++ b/src/lib/config/ccsession.h
@@ -425,9 +425,9 @@ public:
params =
isc::data::ConstElementPtr());
- /// \brief Send a notification to subscribed clients
+ /// \brief Send a notification to subscribed users
///
- /// Send a notification message to all clients subscribed to the given
+ /// Send a notification message to all users subscribed to the given
/// notification group.
///
/// This method does not not block.
@@ -437,13 +437,14 @@ public:
///
/// \throw CCSessionError for low-level communication errors.
/// \param notification_group This parameter (indirectly) signifies what
- /// clients should receive the notification. Only the clients that
+ /// users should receive the notification. Only the users that
/// subscribed to notifications on the same group receive it.
/// \param name The name of the event to notify about (for example
- /// `config_changed`).
+ /// `new_group_member`).
/// \param params Other parameters that describe the event. This might
- /// be, for example, the new configuration value. This can be any
- /// data element, but it is common for it to be map.
+ /// be, for example, the ID of the new member and the name of the
+ /// group. This can be any data element, but it is common for it to be
+ /// map.
void notify(const std::string& notification_group,
const std::string& name,
const isc::data::ConstElementPtr& params =
diff --git a/src/lib/python/isc/config/ccsession.py b/src/lib/python/isc/config/ccsession.py
index 7e01e84..206a0ee 100644
--- a/src/lib/python/isc/config/ccsession.py
+++ b/src/lib/python/isc/config/ccsession.py
@@ -541,11 +541,13 @@ class ModuleCCSession(ConfigData):
def notify(self, notification_group, event_name, params=None):
"""
- Send a notification to subscribed clients.
+ Send a notification to subscribed users.
- Send a notification message to all clients subscribed to the given
+ Send a notification message to all users subscribed to the given
notification group.
+ This method does not block.
+
See docs/design/ipc-high.txt for details about notifications
and the format of messages sent.
@@ -553,13 +555,14 @@ class ModuleCCSession(ConfigData):
- CCSessionError: for low-level communication errors.
Params:
- notification_group (string): This parameter (indirectly) signifies
- what clients should receive the notification. Only clients that
+ what users should receive the notification. Only users that
subscribed to notifications on the same group receive it.
- event_name (string): The name of the event to notify about (for
- example `config_changed`).
+ example `new_group_member`).
- params: Other parameters that describe the event. This might be, for
- example, the new configuration value. This can be any data that can
- be sent over the isc.cc.Session, but it is common for it to be dict.
+ example, the ID of the new member and the name of the group. This can
+ be any data that can be sent over the isc.cc.Session, but it is
+ common for it to be dict.
Returns: Nothing
"""
notification = [event_name]
More information about the bind10-changes
mailing list