Public Member Functions | Protected Member Functions | Protected Attributes

zeus::TIPv6Address Class Reference

#include <IPv6Address.h>

Inheritance diagram for zeus::TIPv6Address:
zeus::TIPAddress zeus::TZObject zeus::IZUnknown

List of all members.

Public Member Functions

 TIPv6Address ()
 TIPv6Address (const TIPv6Address &rAddress)
 TIPv6Address (const IString &rHostAddress, Uint uiPort=0)
virtual ~TIPv6Address ()
bool isIPv4CompatibleAddress () const
bool isMulticast () const
bool isLinkLocalUnicast () const
bool isSiteLocalUnicast () const
bool hasGlobalScope () const
bool hasLocalScope () const
virtual TIPAddresscreateNewAddress ()
virtual TString getHostName () const
virtual bool getRawAddress (IList< Uint16 > &rArray) const
virtual bool isValid () const
virtual struct sockaddr & getSocketAddress () const
virtual Int getSocketAddressSize () const
virtual int getSocketFamily () const
virtual void setPort (Uint uiPort)
virtual void reset ()

Protected Member Functions

bool getRawAddress_internal ()

Protected Attributes

struct sockaddr_in m_SocketAddress
 Socket address.

Detailed Description

This class implememts the datatype to wrapp a IPv6 address. This class implements the standard of RFC 2460 Internet Protocol, Version 6 Specification.


Constructor & Destructor Documentation

zeus::TIPv6Address::TIPv6Address (  )

Creates an empty address object

zeus::TIPv6Address::TIPv6Address ( const TIPv6Address rAddress )

Copy constructor

Parameters:
rAddress: PIv6 address to copy
zeus::TIPv6Address::TIPv6Address ( const IString rHostAddress,
Uint  uiPort = 0 
)

Creates an address out of the ip address and the port

Parameters:
rHostAddress: Host address as a string
uiPort: Port
zeus::TIPv6Address::~TIPv6Address (  ) [virtual]

Destroys the address object


Member Function Documentation

TIPAddress * zeus::TIPv6Address::createNewAddress (  ) [inline, virtual]
TString zeus::TIPv6Address::getHostName (  ) const [virtual]
bool zeus::TIPv6Address::getRawAddress ( IList< Uint16 > &  rArray ) const [inline, virtual]
bool zeus::TIPv6Address::getRawAddress_internal (  ) [protected]
struct sockaddr & zeus::TIPv6Address::getSocketAddress (  ) const [read, virtual]
Int zeus::TIPv6Address::getSocketAddressSize (  ) const [inline, virtual]
int zeus::TIPv6Address::getSocketFamily (  ) const [inline, virtual]
bool zeus::TIPv6Address::hasGlobalScope (  ) const

Checks if the address has global scope

bool zeus::TIPv6Address::hasLocalScope (  ) const [inline]

checks if the address has local scope

bool zeus::TIPv6Address::isIPv4CompatibleAddress (  ) const

Checks if the address is IPv4 compatible

bool zeus::TIPv6Address::isLinkLocalUnicast (  ) const

Checks if the address is link local unicast address

bool zeus::TIPv6Address::isMulticast (  ) const

Checks if the address is multicast address

bool zeus::TIPv6Address::isSiteLocalUnicast (  ) const

Checks if the address is site local unicast address

bool zeus::TIPv6Address::isValid (  ) const [virtual]
See also:
TIPAddress::isValid

Implements zeus::TIPAddress.

void zeus::TIPv6Address::reset (  ) [virtual]
See also:
TIPAddress::reset

Implements zeus::TIPAddress.

void zeus::TIPv6Address::setPort ( Uint  uiPort ) [virtual]
See also:
TIPAddress::setPort

Reimplemented from zeus::TIPAddress.


Member Data Documentation

struct sockaddr_in zeus::TIPv6Address::m_SocketAddress [protected]

Socket address.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:28