From: Michal 'vorner' Vaner Date: Thu, 23 May 2013 08:47:45 +0000 (+0200) Subject: [2930] Replace example for a more obvious one X-Git-Tag: bind10-1.2.0beta1-release~431^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8a9043a2508edd209a01facb71fe4bac4d9eceb;p=thirdparty%2Fkea.git [2930] Replace example for a more obvious one --- diff --git a/src/lib/config/ccsession.h b/src/lib/config/ccsession.h index cc4a93e9c8..04e3046af6 100644 --- a/src/lib/config/ccsession.h +++ b/src/lib/config/ccsession.h @@ -440,10 +440,11 @@ public: /// 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 6df93c0f30..53e531d6ab 100644 --- a/src/lib/python/isc/config/ccsession.py +++ b/src/lib/python/isc/config/ccsession.py @@ -556,10 +556,11 @@ class ModuleCCSession(ConfigData): 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]