Commit 7e2454fa authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

comment update and a minor cleanup (change the type of string argument

to const string&)


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac275@2443 e5f2f494-b856-4b98-b285-d166d9295462
parent 20f4352e
......@@ -197,7 +197,7 @@ ModuleCCSession::startCheck() {
}
ModuleCCSession::ModuleCCSession(
std::string spec_file_name,
const std::string& spec_file_name,
isc::cc::AbstractSession& session,
isc::data::ElementPtr(*config_handler)(isc::data::ElementPtr new_config),
isc::data::ElementPtr(*command_handler)(
......
......@@ -108,7 +108,7 @@ public:
};
///
/// \brief This modules keeps a connection to the command channel,
/// \brief This module keeps a connection to the command channel,
/// holds configuration information, and handles messages from
/// the command channel
///
......@@ -116,13 +116,18 @@ class ModuleCCSession : public ConfigData {
public:
/**
* Initialize a config/command session
* @param module_name: The name of this module. This is not a
* reference because we expect static strings
* to be passed here.
* @param spec_file_name: The name of the file containing the
*
* @param spec_file_name The name of the file containing the
* module specification.
* @param session A Session object over which configuration and command
* data are exchanged.
* @param config_handler A callback function pointer to be called when
* configuration of the local module needs to be updated.
* @param command_handler A callback function pointer to be called when
* a control command from a remote agent needs to be performed on the
* local module.
*/
ModuleCCSession(std::string spec_file_name,
ModuleCCSession(const std::string& spec_file_name,
isc::cc::AbstractSession& session,
isc::data::ElementPtr(*config_handler)(
isc::data::ElementPtr new_config) = NULL,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment