set_hosts_count( hosts_intervals_count );
- // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
- // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
-// BOOST_ASSERT( hosts_names_count == host_port_count );
-// BOOST_ASSERT( hosts_names_count == host_ping_protocol_count );
BOOST_ASSERT( hosts_count == hosts_intervals_count );
return parsed_success;
set_hosts_count( hosts_protocols_count );
- // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
- // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
-// BOOST_ASSERT( hosts_names_count == host_port_count );
BOOST_ASSERT( hosts_count == hosts_protocols_count );
-// BOOST_ASSERT( hosts_names_count == hosts_interval_count );
return parsed_success;
}
set_hosts_count( hosts_ports_count );
- // TODO receive the host_down_limit by parameter, use a std::map to find this configuration inside the Options container
- // TODO BOOST_ASSERT( hosts_names_count >= static_cast<size_t>( host_down_limit ) );
BOOST_ASSERT( hosts_count == hosts_ports_count );
-// BOOST_ASSERT( hosts_names_count == host_ping_protocol_count );
-// BOOST_ASSERT( hosts_names_count == hosts_interval_count );
return parsed_success;
}