ost::IPV6Multicast Class Reference

A specialization of IPV6Address that provides address validation for multicast addresses.A multicast network address. More...

#include <address.h>

Inheritance diagram for ost::IPV6Multicast:

ost::IPV6Address List of all members.

Public Member Functions

 IPV6Multicast ()
 Create an Internet Multicast Address object with an empty (0.0.0.0) address.
 IPV6Multicast (const struct in6_addr address)
 Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object.
 IPV6Multicast (const char *address)
 Convert a null terminated ASCII multicast address string (example: "224.0.0.1") or multicast name string (example: "sap.mcast.net") directly into a Common C++ IPV6Multicast object.

Detailed Description

A specialization of IPV6Address that provides address validation for multicast addresses.A multicast network address.

Whenever its value changes the new value is checked to be in the range from 224.0.0.1 through 239.255.255.255. If it is not, an exception is thrown.

Author:
Federico Montesino <p5087@quintero.fie.us.es>


Constructor & Destructor Documentation

ost::IPV6Multicast::IPV6Multicast (  ) 

Create an Internet Multicast Address object with an empty (0.0.0.0) address.

ost::IPV6Multicast::IPV6Multicast ( const struct in6_addr  address  ) 

Convert the system internet address data type (struct in_addr) into a Common C++ IPV4Multicast object.

Parameters:
address struct of system used binary internet address.

ost::IPV6Multicast::IPV6Multicast ( const char *  address  ) 

Convert a null terminated ASCII multicast address string (example: "224.0.0.1") or multicast name string (example: "sap.mcast.net") directly into a Common C++ IPV6Multicast object.

Works like IPV6Address(const char*).

Parameters:
address null terminated C string.


The documentation for this class was generated from the following file:
Generated on Sat Nov 4 10:43:10 2006 for GNU CommonC++ by  doxygen 1.5.1