|
EpcTools
An event based multi-threaded C++ development framework.
|
Represents a diameter host. More...
#include <epcdns.h>
Public Member Functions | |
| DiameterHost () | |
| Default constructor. More... | |
| DiameterHost (const char *name) | |
| Class constructor. More... | |
| DiameterHost (const std::string &name) | |
| Class constructor. More... | |
| const EString & | getName () const |
| Retrieves the Diameter host name. More... | |
| const EString & | setName (const char *name) |
| Assigns the Diameter host name. More... | |
| const EString & | setName (const std::string &name) |
| Assigns the Diameter host name. More... | |
| StringVector & | getIPv4Addresses () |
| Retrieves the list of IPv4 addresses for this Diameter host. More... | |
| StringVector & | getIPv6Addresses () |
| Retrieves the list of IPv6 addresses for this Diameter host. More... | |
| Void | addIPv4Address (const std::string &addr) |
| Adds an IPv4 address for this Diameter host. More... | |
| Void | addIPv6Address (const std::string &addr) |
| Adds an IPv6 address for this Diameter host. More... | |
| Void | dump (const char *prefix) |
| Prints the contents of this object. More... | |
Represents a diameter host.
|
inline |
Default constructor.
|
inline |
Class constructor.
| name | the Diameter host name. |
|
inline |
Class constructor.
| name | the Diameter host name. |
|
inline |
Adds an IPv4 address for this Diameter host.
| addr | an IPv4 address for this Diameter host. |
|
inline |
Adds an IPv6 address for this Diameter host.
| addr | an IPv6 address for this Diameter host. |
|
inline |
Prints the contents of this object.
| prefix | a value to prepend to each line. |
|
inline |
Retrieves the list of IPv4 addresses for this Diameter host.
|
inline |
Retrieves the list of IPv6 addresses for this Diameter host.
|
inline |
Retrieves the Diameter host name.
|
inline |
Assigns the Diameter host name.
| name | the Diameter host name. |
|
inline |
Assigns the Diameter host name.
| name | the Diameter host name. |
1.8.11