Commit dab02bea authored by Francis Dupont's avatar Francis Dupont

[148-lib-process-servers-without-arguments] trailing spaces

parent 08387455
......@@ -102,7 +102,7 @@ ConfigControlInfo::toElement() const {
return(result);
}
bool
bool
ConfigControlInfo::equals(const ConfigControlInfo& other) const {
return (db_infos_ == other.db_infos_);
}
......
......@@ -19,7 +19,7 @@ namespace process {
ConfigControlInfoPtr
ConfigControlParser::parse(const data::ConstElementPtr& config_control) {
ConfigControlInfoPtr ctl_info(new ConfigControlInfo());
ConfigControlInfoPtr ctl_info(new ConfigControlInfo());
try {
if (config_control->contains("config-databases")) {
......
......@@ -20,10 +20,10 @@ public:
/// @brief Parses a configuration control Element
///
/// @param config_control Element holding the config control content
/// @param config_control Element holding the config control content
/// to be parsed.
///
/// @return Pointer to newly created ConfigControlInfo instance
/// @return Pointer to newly created ConfigControlInfo instance
/// @throw DhcpConfigError when config control content is invalid.
ConfigControlInfoPtr
parse(const data::ConstElementPtr& config_control);
......
......@@ -77,8 +77,8 @@ public:
/// This allows a derivation to specify the order in which its elements are
/// parsed if there are dependencies between elements.
///
/// To parse a given element, its id along with the element itself,
/// is passed into the virtual method, @c parseElement. Derivations are
/// To parse a given element, its id along with the element itself,
/// is passed into the virtual method, @c parseElement. Derivations are
/// expected to converts the element into application specific object(s),
/// thereby isolating the CPL from application details.
///
......
......@@ -76,7 +76,7 @@ public:
/// configuration parsing.
///
/// @throw DProcessBaseError is io_service is NULL.
DProcessBase(const char* app_name, asiolink::IOServicePtr io_service,
DProcessBase(const char* app_name, asiolink::IOServicePtr io_service,
DCfgMgrBasePtr cfg_mgr)
: app_name_(app_name), io_service_(io_service), shut_down_flag_(false),
cfg_mgr_(cfg_mgr) {
......@@ -103,20 +103,20 @@ public:
/// @throw DProcessBaseError if an operational error is encountered.
virtual void run() = 0;
/// @brief Initiates the process's shutdown process.
///
/// This is last step in the shutdown event callback chain, that is
/// @brief Initiates the process's shutdown process.
///
/// This is last step in the shutdown event callback chain, that is
/// intended to notify the process it is to begin its shutdown process.
///
/// @param args an Element set of shutdown arguments (if any) that are
/// supported by the process derivation.
///
/// supported by the process derivation.
///
/// @return an Element that contains the results of argument processing,
/// consisting of an integer status value (0 means successful,
/// non-zero means failure), and a string explanation of the outcome.
///
/// consisting of an integer status value (0 means successful,
/// non-zero means failure), and a string explanation of the outcome.
///
/// @throw DProcessBaseError if an operational error is encountered.
virtual isc::data::ConstElementPtr
virtual isc::data::ConstElementPtr
shutdown(isc::data::ConstElementPtr args) = 0;
/// @brief Processes the given configuration.
......
......@@ -114,7 +114,7 @@ void LogConfigParser::parseConfigEntry(isc::data::ConstElementPtr entry) {
if (output_options) {
parseOutputOptions(info.destinations_, output_options);
}
config_->addLoggingInfo(info);
}
......
Markdown is supported
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