IFullAddress Class Reference
[AddressesInterfaces]

Inheritance diagram for IFullAddress:

Inheritance graph
[legend]
Collaboration diagram for IFullAddress:

Collaboration graph
[legend]

List of all members.


Detailed Description

An interface that represents an IAddress which knows about its address type and that can create dynamically allocated copies of itself.

Public Member Functions

virtual ~IFullAddress ()
 Instances of this interface can be deleted by their users.
virtual const
IAddressType
Type () const =0
 Returns the address type for the address.
virtual IFullAddressClone () const =0
 Dynamically allocates a copy of this address. You are responsible for deallocating this copy with delete when you're done with it..
virtual short Family () const =0
 Returns the address family of the address.
virtual const sockaddr & AsSockAddr () const =0
 Returns the address as a reference to a sockaddr structure.
virtual int Size () const =0
 Returns the size of the sockaddr structure required to store the address.
virtual IAddressRefGetAddressRef () const =0
 Returns a reference counted view on this address, be sure to call Release() on the IAdressRef when you're done with it.

Constructor & Destructor Documentation

virtual ~IFullAddress (  )  [inline, virtual]

Instances of this interface can be deleted by their users.


Member Function Documentation

virtual const IAddressType& Type (  )  const [pure virtual]

Returns the address type for the address.

Implemented in CAddressBluetooth, CAddressIPv4, CAddressIPv6, CFullAddress, and CFullAddressWrapper.

virtual IFullAddress* Clone (  )  const [pure virtual]

Dynamically allocates a copy of this address. You are responsible for deallocating this copy with delete when you're done with it..

Implemented in CAddressBluetooth, CAddressIPv4, CAddressIPv6, CFullAddress, and CFullAddressWrapper.

virtual short Family (  )  const [pure virtual, inherited]

Returns the address family of the address.

Implemented in CAddressBluetooth, CAddress, CAddressImpl, CAddressInfo::Iterator, CAddressIPv4, CAddressIPv6, CAddressWrapper, CFullAddress, and CFullAddressWrapper.

virtual const sockaddr& AsSockAddr (  )  const [pure virtual, inherited]

Returns the address as a reference to a sockaddr structure.

Implemented in CAddressBluetooth, CAddress, CAddressImpl, CAddressInfo::Iterator, CAddressIPv4, CAddressIPv6, CAddressWrapper, CFullAddress, and CFullAddressWrapper.

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

Returns the size of the sockaddr structure required to store the address.

Implemented in CAddressBluetooth, CAddress, CAddressImpl, CAddressInfo::Iterator, CAddressIPv4, CAddressIPv6, CAddressWrapper, CFullAddress, and CFullAddressWrapper.

virtual IAddressRef* GetAddressRef (  )  const [pure virtual, inherited]

Returns a reference counted view on this address, be sure to call Release() on the IAdressRef when you're done with it.

Implemented in CAddressBluetooth, CAddress, CAddressImpl, CAddressInfo::Iterator, CAddressIPv4, CAddressIPv6, CAddressWrapper, CFullAddress, and CFullAddressWrapper.


Generated on Thu Mar 26 16:40:03 2009 for JetByte Socket Tools - v6.0 by  doxygen 1.5.3