Public Member Functions | |
CAddressRenderer (bool includePort=true) | |
JetByteTools::Core::_tstring | AsString (const IAddress &address) const override |
Render the address in a readable text format. | |
IIPAddress::Port | GetPort (const IAddress &address) const override |
Static Public Member Functions | |
static JetByteTools::Core::_tstring | AsString (const IAddress &address, bool includePort, bool exceptionOnFailure=true) |
static std::string | AsStringA (const IAddress &address, bool includePort, bool exceptionOnFailure=true) |
static JetByteTools::Core::_tstring | AsString (const sockaddr &address, int length, bool includePort, bool exceptionOnFailure=true) |
static std::string | AsStringA (const sockaddr &address, int length, bool includePort, bool exceptionOnFailure=true) |
CAddressRenderer | ( | bool | includePort = true |
) | [explicit] |
_tstring AsString | ( | const IAddress & | address, | |
bool | includePort, | |||
bool | exceptionOnFailure = true | |||
) | [static] |
string AsStringA | ( | const IAddress & | address, | |
bool | includePort, | |||
bool | exceptionOnFailure = true | |||
) | [static] |
_tstring AsString | ( | const sockaddr & | address, | |
int | length, | |||
bool | includePort, | |||
bool | exceptionOnFailure = true | |||
) | [static] |
string AsStringA | ( | const sockaddr & | address, | |
int | length, | |||
bool | includePort, | |||
bool | exceptionOnFailure = true | |||
) | [static] |
_tstring AsString | ( | const IAddress & | address | ) | const [override, virtual] |
IIPAddress::Port GetPort | ( | const IAddress & | address | ) | const [override, virtual] |
Implements IRenderAddresses.