#include <SocketAddress.h>
Public Member Functions | |
| SocketAddress () | |
| SocketAddress (const std::string &btAddress) | |
| SocketAddress (uint8_t channel) | |
| SocketAddress (const std::string &btAddress, uint8_t channel) | |
| SocketAddress (const SockAddr &sockAddr, SockLen sockAddrLen) | |
| void | init () |
| SocketAddress & | setBtAddress (const std::string &btAddress) |
| std::string | getBtAddress () const |
| SocketAddress & | setChannel (uint8_t channel) |
| uint8_t | getChannel () const |
| std::string | toString (bool expanded=true) const override |
| Public Member Functions inherited from net::SocketAddress< sockaddr_rc > | |
| 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_rc> |
Private Attributes | |
| std::string | btAddress |
| uint8_t | channel = 0 |
Additional Inherited Members | |
| Public Types inherited from net::SocketAddress< sockaddr_rc > | |
| using | SockAddr |
| using | SockLen |
| Protected Attributes inherited from net::SocketAddress< sockaddr_rc > | |
| SockAddr | sockAddr |
| SockLen | sockAddrLen |
Definition at line 60 of file SocketAddress.h.
|
private |
Definition at line 62 of file SocketAddress.h.
| net::rc::SocketAddress::SocketAddress | ( | ) |
Definition at line 52 of file SocketAddress.cpp.
References net::SocketAddress< SockAddrT >::SocketAddress().
Referenced by SocketAddress(), SocketAddress(), and SocketAddress().
|
explicit |
Definition at line 56 of file SocketAddress.cpp.
References setBtAddress(), and SocketAddress().
|
explicit |
Definition at line 61 of file SocketAddress.cpp.
References setChannel(), and SocketAddress().
| net::rc::SocketAddress::SocketAddress | ( | const std::string & | btAddress, |
| uint8_t | channel ) |
Definition at line 66 of file SocketAddress.cpp.
References setBtAddress(), setChannel(), and SocketAddress().
Referenced by net::rc::stream::SocketClient< core::socket::stream::legacy::SocketConnector, net::rc::stream::legacy::config::ConfigSocketClient, SocketContextFactoryT, Args... >::connect(), web::http::legacy::rc::EventSource(), web::http::legacy::rc::EventSource(), web::http::tls::rc::EventSource(), web::http::tls::rc::EventSource(), and net::rc::config::ConfigAddress< ConfigAddressTypeT >::init().
Definition at line 72 of file SocketAddress.cpp.
References btAddress, channel, and net::SocketAddress< SockAddrT >::SocketAddress().
| std::string net::rc::SocketAddress::getBtAddress | ( | ) | const |
Definition at line 92 of file SocketAddress.cpp.
References btAddress.
Referenced by net::rc::config::ConfigAddress< ConfigAddressTypeT >::setSocketAddress().
| uint8_t net::rc::SocketAddress::getChannel | ( | ) | const |
Definition at line 102 of file SocketAddress.cpp.
References channel.
Referenced by net::rc::config::ConfigAddress< ConfigAddressTypeT >::setSocketAddress().
| void net::rc::SocketAddress::init | ( | ) |
Definition at line 81 of file SocketAddress.cpp.
References btAddress, and channel.
Referenced by net::rc::config::ConfigAddress< ConfigAddressTypeT >::init().
| SocketAddress & net::rc::SocketAddress::setBtAddress | ( | const std::string & | btAddress | ) |
Definition at line 86 of file SocketAddress.cpp.
References btAddress.
Referenced by SocketAddress(), and SocketAddress().
| SocketAddress & net::rc::SocketAddress::setChannel | ( | uint8_t | channel | ) |
Definition at line 96 of file SocketAddress.cpp.
References channel.
Referenced by SocketAddress(), and SocketAddress().
|
overridevirtual |
Implements core::socket::SocketAddress.
Definition at line 106 of file SocketAddress.cpp.
References btAddress, and channel.
Referenced by express::legacy::rc::Server(), and express::tls::rc::Server().
|
private |
Definition at line 82 of file SocketAddress.h.
Referenced by getBtAddress(), init(), setBtAddress(), SocketAddress(), and toString().
|
private |
Definition at line 83 of file SocketAddress.h.
Referenced by getChannel(), init(), setChannel(), SocketAddress(), and toString().