18#include "hazelcast/util/export.h"
19#include "hazelcast/client/config/ssl_config.h"
20#include "hazelcast/client/config/client_aws_config.h"
21#include "hazelcast/client/config/socket_options.h"
22#include "hazelcast/client/config/cloud_config.h"
24#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
26#pragma warning(disable : 4251)
69 const std::chrono::milliseconds& timeout);
182 std::chrono::milliseconds connection_timeout_;
185 std::vector<address> address_list_;
189 bool use_public_address_{
false };
195#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
Represents an address of a client or member in the cluster.
The client_aws_config contains the configuration for client to connect to nodes in aws environment.
client_network_config & set_addresses(const std::vector< address > &addresses)
Adds given addresses to candidate address list that client will use to establish initial connection.
bool is_smart_routing() const
See client_network_config::setSmartRouting(boolean) for details.
std::vector< address > get_addresses() const
Returns the list of candidate addresses that client will use to establish initial connection.
client_network_config & add_addresses(const std::vector< address > &addresses)
Adds given addresses to candidate address list that client will use to establish initial connection.
client_network_config & add_address(const address &address)
Adds given address to candidate address list that client will use to establish initial connection.
client_network_config & set_smart_routing(bool smart_routing)
If true, client will route the key based operations to owner of the key on best-effort basis.
client_network_config & set_connection_timeout(const std::chrono::milliseconds &timeout)
client_aws_config & get_aws_config()
Returns the current client_aws_config.
ssl_config & get_ssl_config()
Returns the current \ssl_config .
client_network_config()
Constructor with default values.
std::chrono::milliseconds get_connection_timeout() const
Connection timeout value for connecting to a member server.
cloud_config & get_cloud_config()
Returns the current cloud_config.
bool use_public_address() const
client_network_config & set_aws_config(const client_aws_config &client_aws_config)
Sets configuration to connect nodes in aws environment.
client_network_config & set_ssl_config(const config::ssl_config &config)
Sets the ssl_config.
Contains configuration parameters for ssl related behaviour.
hazelcast.cloud configuration to let the client connect the cluster via hazelcast....