Apache Mesos
Public Member Functions | Static Public Member Functions | Friends | List of all members
process::network::unix::Address Class Reference

#include <address.hpp>

Public Member Functions

 Address (const sockaddr_un &un, Option< socklen_t > _length=None())
 
size_t size () const
 
std::string path () const
 
 operator sockaddr_storage () const
 
bool operator== (const Address &that) const
 

Static Public Member Functions

static Try< Addresscreate (const std::string &path)
 

Friends

std::ostream & operator<< (std::ostream &stream, const Address &address)
 

Constructor & Destructor Documentation

process::network::unix::Address::Address ( const sockaddr_un &  un,
Option< socklen_t >  _length = None() 
)
inline

Member Function Documentation

static Try<Address> process::network::unix::Address::create ( const std::string &  path)
inlinestatic
process::network::unix::Address::operator sockaddr_storage ( ) const
inline
bool process::network::unix::Address::operator== ( const Address that) const
inline
std::string process::network::unix::Address::path ( ) const
inline
size_t process::network::unix::Address::size ( ) const
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  stream,
const Address address 
)
friend

Member Data Documentation

sockaddr_storage process::network::unix::Address::storage
sockaddr_un process::network::unix::Address::un

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