libzmq  master
ZeroMQ C++ Core Engine (LIBZMQ)
zmq::ipc_address_t Class Reference

#include <ipc_address.hpp>

Collaboration diagram for zmq::ipc_address_t:

Public Member Functions

 ipc_address_t ()
 
 ipc_address_t (const sockaddr *sa, socklen_t sa_len)
 
 ~ipc_address_t ()
 
const sockaddr * addr () const
 
socklen_t addrlen () const
 
int resolve (const char *path_)
 
int to_string (std::string &addr_)
 

Private Member Functions

 ipc_address_t (const ipc_address_t &)
 
const ipc_address_toperator= (const ipc_address_t &)
 

Private Attributes

struct sockaddr_un address
 

Detailed Description

Definition at line 45 of file ipc_address.hpp.

Constructor & Destructor Documentation

zmq::ipc_address_t::ipc_address_t ( )

Definition at line 40 of file ipc_address.cpp.

References address.

zmq::ipc_address_t::ipc_address_t ( const sockaddr *  sa,
socklen_t  sa_len 
)

Definition at line 45 of file ipc_address.cpp.

References address, and zmq_assert.

zmq::ipc_address_t::~ipc_address_t ( )

Definition at line 54 of file ipc_address.cpp.

zmq::ipc_address_t::ipc_address_t ( const ipc_address_t )
private

Member Function Documentation

const sockaddr * zmq::ipc_address_t::addr ( ) const

Definition at line 94 of file ipc_address.cpp.

References address.

Referenced by zmq::ipc_connecter_t::open(), and zmq::ipc_listener_t::set_address().

Here is the caller graph for this function:

socklen_t zmq::ipc_address_t::addrlen ( ) const

Definition at line 99 of file ipc_address.cpp.

References address.

Referenced by zmq::ipc_connecter_t::open(), and zmq::ipc_listener_t::set_address().

Here is the caller graph for this function:

const ipc_address_t& zmq::ipc_address_t::operator= ( const ipc_address_t )
private
int zmq::ipc_address_t::resolve ( const char *  path_)

Definition at line 58 of file ipc_address.cpp.

References address.

Referenced by zmq::socket_base_t::connect(), and zmq::ipc_listener_t::set_address().

Here is the caller graph for this function:

int zmq::ipc_address_t::to_string ( std::string &  addr_)

Definition at line 77 of file ipc_address.cpp.

References address.

Referenced by zmq::ipc_listener_t::get_address(), and zmq::ipc_listener_t::set_address().

Here is the caller graph for this function:

Member Data Documentation

struct sockaddr_un zmq::ipc_address_t::address
private

Definition at line 64 of file ipc_address.hpp.

Referenced by addr(), addrlen(), ipc_address_t(), resolve(), and to_string().