Apache Mesos
Public Member Functions | Public Attributes | List of all members
process::network::inet::Address Class Reference

#include <address.hpp>

Inheritance diagram for process::network::inet::Address:
process::network::inet4::Address process::network::inet6::Address

Public Member Functions

 Address (const net::IP &_ip, uint16_t _port)
 
Try< std::string > hostname () const
 Returns the hostname of this address's IP. More...
 
 operator sockaddr_storage () const
 
bool operator< (const Address &that) const
 
bool operator> (const Address &that) const
 
bool operator== (const Address &that) const
 
bool operator!= (const Address &that) const
 

Public Attributes

net::IP ip
 
uint16_t port
 

Constructor & Destructor Documentation

process::network::inet::Address::Address ( const net::IP _ip,
uint16_t  _port 
)
inline

Member Function Documentation

Try<std::string> process::network::inet::Address::hostname ( ) const
inline

Returns the hostname of this address's IP.

Returns
the hostname of this address's IP.
process::network::inet::Address::operator sockaddr_storage ( ) const
inline
bool process::network::inet::Address::operator!= ( const Address that) const
inline
bool process::network::inet::Address::operator< ( const Address that) const
inline
bool process::network::inet::Address::operator== ( const Address that) const
inline
bool process::network::inet::Address::operator> ( const Address that) const
inline

Member Data Documentation

net::IP process::network::inet::Address::ip
uint16_t process::network::inet::Address::port

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