Represents a diameter host.
More...
#include <epcdns.h>
Represents a diameter host.
◆ DiameterHost() [1/3]
EPCDNS::DiameterHost::DiameterHost |
( |
| ) |
|
|
inline |
◆ DiameterHost() [2/3]
EPCDNS::DiameterHost::DiameterHost |
( |
const char * |
name | ) |
|
|
inline |
Class constructor.
- Parameters
-
name | the Diameter host name. |
◆ DiameterHost() [3/3]
EPCDNS::DiameterHost::DiameterHost |
( |
const std::string & |
name | ) |
|
|
inline |
Class constructor.
- Parameters
-
name | the Diameter host name. |
◆ addIPv4Address()
Void EPCDNS::DiameterHost::addIPv4Address |
( |
const std::string & |
addr | ) |
|
|
inline |
Adds an IPv4 address for this Diameter host.
- Parameters
-
addr | an IPv4 address for this Diameter host. |
◆ addIPv6Address()
Void EPCDNS::DiameterHost::addIPv6Address |
( |
const std::string & |
addr | ) |
|
|
inline |
Adds an IPv6 address for this Diameter host.
- Parameters
-
addr | an IPv6 address for this Diameter host. |
◆ dump()
Void EPCDNS::DiameterHost::dump |
( |
const char * |
prefix | ) |
|
|
inline |
Prints the contents of this object.
- Parameters
-
prefix | a value to prepend to each line. |
◆ getIPv4Addresses()
Retrieves the list of IPv4 addresses for this Diameter host.
- Returns
- the list of IPv4 addresses for this diameter host.
◆ getIPv6Addresses()
Retrieves the list of IPv6 addresses for this Diameter host.
- Returns
- the list of IPv6 addresses for this Diameter host.
◆ getName()
const EString& EPCDNS::DiameterHost::getName |
( |
| ) |
const |
|
inline |
Retrieves the Diameter host name.
- Returns
- the Diameter host name.
◆ setName() [1/2]
const EString& EPCDNS::DiameterHost::setName |
( |
const char * |
name | ) |
|
|
inline |
Assigns the Diameter host name.
- Parameters
-
name | the Diameter host name. |
- Returns
- the Diameter host name.
◆ setName() [2/2]
const EString& EPCDNS::DiameterHost::setName |
( |
const std::string & |
name | ) |
|
|
inline |
Assigns the Diameter host name.
- Parameters
-
name | the Diameter host name. |
- Returns
- the Diameter host name.
The documentation for this class was generated from the following file:
- /home/vagrant/share/code/epctools/include/epc/epcdns.h