Public Member Functions | |
IAddressType () | |
IAddressType (const IAddressType &rhs) | |
IAddressType & | operator= (const IAddressType &rhs) |
virtual unsigned short | Family () const =0 |
Returns the address family of the address type. | |
virtual int | Protocol () const =0 |
Returns the protocol of the address type. | |
virtual int | Size () const =0 |
Returns the number of bytes required to store an address of this type. | |
virtual const IAddress & | WildcardAddress () const =0 |
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 |
Protected Member Functions | |
virtual | ~IAddressType () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
IAddressType | ( | ) |
IAddressType | ( | const IAddressType & | rhs | ) |
virtual ~IAddressType | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
IAddressType& operator= | ( | const IAddressType & | rhs | ) |
virtual unsigned short Family | ( | ) | const [pure virtual] |
virtual int Protocol | ( | ) | const [pure virtual] |
virtual int Size | ( | ) | const [pure virtual] |
virtual const IAddress& WildcardAddress | ( | ) | const [pure virtual] |
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...
Implemented in CAddressType.
virtual bool operator== | ( | const IAddressType & | rhs | ) | const [inline, virtual] |
virtual bool operator!= | ( | const IAddressType & | rhs | ) | const [inline, virtual] |
_tstring ToString | ( | ) | const [virtual] |
string ToStringA | ( | ) | const [virtual] |