Public Member Functions | |
PROUD_API void | OverwriteHostNameIfExists (const String &hostName) |
bool | operator== (const NamedAddrPort &rhs) const |
bool | operator!= (const NamedAddrPort &rhs) const |
PROUD_API String | ToString () const |
PROUD_API bool | IsUnicastEndpoint () |
Static Public Member Functions | |
static PROUD_API NamedAddrPort | FromAddrPort (String addr, uint16_t port) |
static PROUD_API NamedAddrPort | From (const AddrPort &src) |
Public Attributes | |
String | m_addr |
uint16_t | m_port |
Static Public Attributes | |
static PROUD_API NamedAddrPort | Unassigned |
It's similar to AddrPort but string can be inserted in m_addr.
|
static |
Generate this object from AddrPort object
|
static |
Generate this object from a specific hostname and port number.
PROUD_API bool Proud::NamedAddrPort::IsUnicastEndpoint | ( | ) |
Is it correct address that point 1 port of 1 host instead of broadcast address, null address?
|
inline |
Comparison Operator
|
inline |
Comparison Operator
PROUD_API void Proud::NamedAddrPort::OverwriteHostNameIfExists | ( | const String & | hostName | ) |
Appoint a new host name with the string inside of hostname.
PROUD_API String Proud::NamedAddrPort::ToString | ( | ) | const |
This method makes the contents into string.
String Proud::NamedAddrPort::m_addr |
Host name
uint16_t Proud::NamedAddrPort::m_port |
Port Value
|
static |
Empty Address