asio

The contents of this module can be included with the header hpx/modules/asio.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/asio.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

Header hpx/asio/asio_util.hpp

namespace hpx
namespace util

Functions

bool split_ip_address(std::string const &v, std::string &host, std::uint16_t &port)

Header hpx/asio/map_hostnames.hpp

namespace hpx
namespace util
struct map_hostnames
#include <map_hostnames.hpp>

Public Types

typedef util::function_nonser<std::string(std::string const&)> transform_function_type

Public Functions

map_hostnames(bool debug = false)
void use_suffix(std::string const &suffix)
void use_prefix(std::string const &prefix)
void use_transform(transform_function_type const &f)
std::string map(std::string host_name, std::uint16_t port) const

Private Members

transform_function_type transform_
std::string suffix_
std::string prefix_
bool debug_