24 #ifndef CLOE_UTILITY_TCP_TRANSCEIVER_CONFIG_HPP_ 25 #define CLOE_UTILITY_TCP_TRANSCEIVER_CONFIG_HPP_ 66 {
"retry_delay_s",
Schema(&
retry_delay,
"time delay between connection attempts")},
70 void to_json(Json& j)
const override {
87 : host(host), port(port) {}
89 : host(std::move(host)), port(port) {}
94 std::string host{
"localhost"};
105 {
"host",
Schema(&host,
"hostname of connection")},
106 {
"port",
Schema(&port,
"port of connection")},
111 void to_json(Json& j)
const override {
121 #endif // CLOE_UTILITY_TCP_TRANSCEIVER_CONFIG_HPP_ Definition: confable.hpp:46
int32_t retry_attempts
Definition: tcp_transceiver_config.hpp:53
Definition: coordinator.hpp:36
Definition: tcp_transceiver_config.hpp:84
Json to_json() const
Definition: confable.cpp:74
Definition: schema.hpp:178
Definition: tcp_transceiver_config.hpp:40
std::chrono::duration< float > retry_delay
Definition: tcp_transceiver_config.hpp:61
virtual Schema schema_impl()
Definition: confable.cpp:80