|
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 |
Public Member Functions inherited from net::SocketAddress< sockaddr_un > | |
| 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 |
Public Member Functions inherited from core::socket::SocketAddress | |
| virtual | ~SocketAddress () |
| virtual bool | useNext () |
| virtual std::string | getEndpoint (const std::string_view &format={}) const |
Private Types | |
| using | Super = net::SocketAddress< sockaddr_un > |
Private Attributes | |
| std::string | sunPath |
Additional Inherited Members | |
Public Types inherited from net::SocketAddress< sockaddr_un > | |
| using | SockAddr = sockaddr_un |
| using | SockLen = socklen_t |
Protected Attributes inherited from net::SocketAddress< sockaddr_un > | |
| 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.
Referenced by express::legacy::un::Server(), and express::tls::un::Server().
|
private |
Definition at line 75 of file SocketAddress.h.
Referenced by getSunPath(), init(), setSunPath(), and SocketAddress().