xgboost
Public Member Functions | Static Public Member Functions | List of all members
xgboost::collective::SockAddrV4 Class Reference

#include <socket.h>

Collaboration diagram for xgboost::collective::SockAddrV4:
Collaboration graph

Public Member Functions

 SockAddrV4 (sockaddr_in addr)
 
 SockAddrV4 ()
 
in_port_t Port () const
 
std::string Addr () const
 
sockaddr_in const & Handle () const
 

Static Public Member Functions

static SockAddrV4 Loopback ()
 
static SockAddrV4 InaddrAny ()
 

Constructor & Destructor Documentation

◆ SockAddrV4() [1/2]

xgboost::collective::SockAddrV4::SockAddrV4 ( sockaddr_in  addr)
inlineexplicit

◆ SockAddrV4() [2/2]

xgboost::collective::SockAddrV4::SockAddrV4 ( )
inline

Member Function Documentation

◆ Addr()

std::string xgboost::collective::SockAddrV4::Addr ( ) const
inline

◆ Handle()

sockaddr_in const& xgboost::collective::SockAddrV4::Handle ( ) const
inline

◆ InaddrAny()

static SockAddrV4 xgboost::collective::SockAddrV4::InaddrAny ( )
static

◆ Loopback()

static SockAddrV4 xgboost::collective::SockAddrV4::Loopback ( )
static

◆ Port()

in_port_t xgboost::collective::SockAddrV4::Port ( ) const
inline

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