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

IRenderAddresses Class Reference
[AddressesInterfacesProtected destructors on abstract base classes]

Inheritance diagram for IRenderAddresses:

List of all members.


Detailed Description

An interface to an object that can take an instance of IAddress and produce a readable textual representation of that address. So, for example, it could takean IPv4 address and render it in standard dotted IP format xxx.xxx.xxx.xxx, etc.

Public Member Functions

virtual
JetByteTools::Core::_tstring 
AsString (const IAddress &address) const =0
 Render the address in a readable text format.
virtual IIPAddress::Port GetPort (const IAddress &address) const =0

Protected Member Functions

virtual ~IRenderAddresses ()
 We never delete instances of this interface; you must manage the lifetime of the class that implements it.

Constructor & Destructor Documentation

virtual ~IRenderAddresses (  )  [protected, virtual]

We never delete instances of this interface; you must manage the lifetime of the class that implements it.


Member Function Documentation

virtual JetByteTools::Core::_tstring AsString ( const IAddress address  )  const [pure virtual]

Render the address in a readable text format.

Implemented in CAddressRenderer.

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

Implemented in CAddressRenderer.


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