Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
9d7bd127
Commit
9d7bd127
authored
May 20, 2013
by
Michal 'vorner' Vaner
Browse files
[2937] Interface of the notify method
parent
fededac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/config/ccsession.h
View file @
9d7bd127
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment