SNode.C
|
#include <SocketAddress.h>
Public Member Functions | |
SocketAddress () | |
SocketAddress (const std::string &sunPath) | |
SocketAddress (const SockAddr &sockAddr, SockLen sockAddrLen) | |
void | init () |
SocketAddress & | setSunPath (const std::string &sunPath) |
std::string | getSunPath () const |
std::string | toString (bool expanded=true) const override |
![]() | |
SocketAddress (sa_family_t af, SockLen sockAddrLen=sizeof(SockAddr)) | |
SocketAddress (const SocketAddress &socketAddress) | |
SocketAddress (const SockAddr &sockAddr, SockLen sockAddrLen) | |
SocketAddress & | operator= (const SocketAddress &socketAddress) |
const sockaddr & | getSockAddr () |
const SockLen & | getSockAddrLen () const |
sa_family_t | getAddressFamily () const |
![]() | |
virtual | ~SocketAddress () |
virtual bool | useNext () |
Private Types | |
using | Super = net::SocketAddress< sockaddr_un > |
Private Attributes | |
std::string | sunPath |
Additional Inherited Members | |
![]() | |
using | SockAddr = sockaddr_un |
using | SockLen = socklen_t |
![]() | |
SockAddr | sockAddr |
SockLen | sockAddrLen |
Definition at line 58 of file SocketAddress.h.
|
private |
Definition at line 60 of file SocketAddress.h.
net::un::SocketAddress::SocketAddress | ( | ) |
Definition at line 57 of file SocketAddress.cpp.
References net::SocketAddress< SockAddrT >::SocketAddress().
Referenced by SocketAddress().
|
explicit |
Definition at line 61 of file SocketAddress.cpp.
References setSunPath(), and SocketAddress().
Referenced by net::un::config::ConfigAddress< ConfigAddressTypeT >::init().
Definition at line 66 of file SocketAddress.cpp.
References net::SocketAddress< SockAddrT >::SocketAddress(), and sunPath.
std::string net::un::SocketAddress::getSunPath | ( | ) | const |
Definition at line 92 of file SocketAddress.cpp.
References sunPath.
Referenced by net::un::phy::PhysicalSocket< PhysicalPeerSocketT >::bind(), and net::un::config::ConfigAddress< ConfigAddressTypeT >::setSocketAddress().
void net::un::SocketAddress::init | ( | ) |
Definition at line 71 of file SocketAddress.cpp.
References sunPath.
Referenced by net::un::config::ConfigAddress< ConfigAddressTypeT >::init().
SocketAddress & net::un::SocketAddress::setSunPath | ( | const std::string & | sunPath | ) |
Definition at line 86 of file SocketAddress.cpp.
References sunPath.
Referenced by SocketAddress().
|
overridevirtual |
Implements core::socket::SocketAddress.
Definition at line 96 of file SocketAddress.cpp.
|
private |
Definition at line 75 of file SocketAddress.h.
Referenced by getSunPath(), init(), setSunPath(), and SocketAddress().