The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CAddressRenderer Class Reference
[Addresses]

Inheritance diagram for CAddressRenderer:
Collaboration diagram for CAddressRenderer:

List of all members.


Detailed Description

An implementation of IRenderAddresses.


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)


Constructor & Destructor Documentation

CAddressRenderer ( bool  includePort = true  )  [explicit]


Member Function Documentation

_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]

Render the address in a readable text format.

Implements IRenderAddresses.

IIPAddress::Port GetPort ( const IAddress address  )  const [override, virtual]

Implements IRenderAddresses.


Generated on Sun Sep 12 19:10:02 2021 for The Server Framework - v7.4 by doxygen 1.5.3