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

CAddressTypeIPv6 Class Reference
[Addresses]

Inheritance diagram for CAddressTypeIPv6:
Collaboration diagram for CAddressTypeIPv6:

List of all members.


Detailed Description

A implementation of the IAddressType interface for IPv6.


Public Member Functions

unsigned short Family () const override
 Returns the address family of the address type.
int Protocol () const override
 Returns the protocol of the address type.
int Size () const override
 Returns the number of bytes required to store an address of this type.
const IAddressWildcardAddress () const override
 Returns this address type's wildcard address; e.g. INADDR_ANY for IPv4. Yes, I know that at present all wildcard addresses are just a zero filled address structure, but...
virtual bool operator== (const IAddressType &rhs) const
virtual bool operator!= (const IAddressType &rhs) const
virtual
JetByteTools::Core::_tstring 
ToString () const
virtual std::string ToStringA () const

Static Public Member Functions

static CAddressType GetAddressType (unsigned short addressFamily)

Static Public Attributes

static const CAddressType instance = static_cast<CAddressType>(CAddressTypeIPv6())


Member Function Documentation

CAddressType GetAddressType ( unsigned short  addressFamily  )  [static, inherited]

unsigned short Family (  )  const [override, virtual, inherited]

Returns the address family of the address type.

Implements IAddressType.

int Protocol (  )  const [override, virtual, inherited]

Returns the protocol of the address type.

Implements IAddressType.

int Size (  )  const [override, virtual, inherited]

Returns the number of bytes required to store an address of this type.

Implements IAddressType.

const IAddress & WildcardAddress (  )  const [override, virtual, inherited]

Returns this address type's wildcard address; e.g. INADDR_ANY for IPv4. Yes, I know that at present all wildcard addresses are just a zero filled address structure, but...

Implements IAddressType.

virtual bool operator== ( const IAddressType rhs  )  const [inline, virtual, inherited]

virtual bool operator!= ( const IAddressType rhs  )  const [inline, virtual, inherited]

_tstring ToString (  )  const [virtual, inherited]

string ToStringA (  )  const [virtual, inherited]


Member Data Documentation

const CAddressType instance = static_cast<CAddressType>(CAddressTypeIPv6()) [static]


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