Apache Mesos
|
#include <address.hpp>
Public Types | |
enum | Family { Family::UNIX, Family::INET4, Family::INET6 } |
Public Member Functions | |
Address (const inet::Address &address) | |
Address (unix::Address address) | |
Address (inet4::Address address) | |
Address (inet6::Address address) | |
Family | family () const |
size_t | size () const |
operator sockaddr_storage () const | |
Public Member Functions inherited from Variant< unix::Address, inet4::Address, inet6::Address > | |
Variant (U &&u) | |
auto | visit (Fs &&...fs) const -> decltype(boost::apply_visitor(overload(std::forward< Fs >(fs)...), std::declval< boost::variant< unix::Address, Ts... > & >())) |
auto | visit (Fs &&...fs) -> decltype(boost::apply_visitor(overload(std::forward< Fs >(fs)...), std::declval< boost::variant< unix::Address, Ts... > & >())) |
bool | operator== (const Variant &that) const |
bool | operator!= (const Variant &that) const |
Static Public Member Functions | |
static Try< Address > | create (const sockaddr_storage &storage, Option< socklen_t > length=None()) |
static Try< Address > | create (const sockaddr *address, size_t length) |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |