24 #ifndef LEAFHOSTINFO_H
25 #define LEAFHOSTINFO_H
50 const std::string& ca_cert) {
51 return std::vector<LeafHostInfo>{};
60 #endif // LEAFHOSTINFO_H
unsigned getConnectTimeout(unsigned connect_timeout)
LeafHostInfo(const std::string &host, const uint16_t port, const NodeRole role)
unsigned getSendTimeout()
const std::string & getHost() const
std::string & getSSLCertFile()
static std::vector< LeafHostInfo > parseClusterConfig(const std::string &file_path, const unsigned connect_timeout, const unsigned recv_timeout, const unsigned send_timeout, const std::string &ca_cert)
unsigned getRecvTimeout(unsigned recv_timeout)