Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::aws::utility::cloud_utility Class Reference

Static Public Member Functions

static std::unordered_map< std::string, std::string > unmarshal_the_response (std::istream &stream, logger &lg)
 Unmarshal the response from DescribeInstances and return the discovered node map. More...
 
static void unmarshal_json_response (std::istream &stream, config::client_aws_config &aws_config, std::unordered_map< std::string, std::string > &attributes)
 

Detailed Description

Definition at line 40 of file cloud_utility.h.

Member Function Documentation

◆ unmarshal_the_response()

static std::unordered_map<std::string, std::string> hazelcast::client::aws::utility::cloud_utility::unmarshal_the_response ( std::istream &  stream,
logger lg 
)
static

Unmarshal the response from DescribeInstances and return the discovered node map.

The map contains mappings from private to public IP. If there is an exception while unmarshalling the response, returns an empty map.

Parameters
streamthe response XML stream
loggerthe logger to be used for logging any warnings during unmarshal.
Returns
map from private to public IP or empty map in case of exceptions

The documentation for this class was generated from the following file: