7#ifndef PING_CHECK_CONFIG_H 
    8#define PING_CHECK_CONFIG_H 
   40        return (enable_ping_check_);
 
 
   47        enable_ping_check_ = value;
 
 
   54        return (min_ping_requests_);
 
 
   61        min_ping_requests_ = value;
 
 
   68        return (reply_timeout_);
 
 
   75        reply_timeout_ = value;
 
 
   82        return (ping_cltt_secs_);
 
 
   89        ping_cltt_secs_ = value;
 
 
   96        return (ping_channel_threads_);
 
 
  103        ping_channel_threads_ = value;
 
 
  108    bool enable_ping_check_;
 
  112    uint32_t min_ping_requests_;
 
  116    uint32_t reply_timeout_;
 
  121    uint32_t ping_cltt_secs_;
 
  125    size_t ping_channel_threads_;
 
 
void setMinPingRequests(uint32_t value)
Sets the value of min-ping-requests.
bool getEnablePingCheck() const
Fetches the value of enable-ping-check.
PingCheckConfig()
Constructor.
void parse(data::ConstElementPtr config)
Extracts member values from an Element::map.
uint32_t getPingClttSecs() const
Fetches the value of ping-cltt-secs.
static const data::SimpleKeywords CONFIG_KEYWORDS
List of valid parameters and expected types.
void setEnablePingCheck(bool value)
Sets the value of enable-ping-check.
uint32_t getMinPingRequests() const
Fetches the value of min-ping-requests.
uint32_t getReplyTimeout() const
Fetches the value of reply-timeout.
void setPingChannelThreads(uint32_t value)
Sets the value of ping-channel-threads.
void setReplyTimeout(uint32_t value)
Sets the value of reply-timeout.
uint32_t getPingChannelThreads() const
Fetches the value of ping-channel-threads.
void setPingClttSecs(uint32_t value)
Sets the value of ping-cltt-secs.
~PingCheckConfig()=default
Destructor.
boost::shared_ptr< const Element > ConstElementPtr
std::map< std::string, isc::data::Element::types > SimpleKeywords
This specifies all accepted keywords with their types.
boost::shared_ptr< PingCheckConfig > PingCheckConfigPtr
Defines a shared pointer to a PingCheckConfig.
Defines the logger used by the top-level component of kea-lfc.