EpcTools
An event based multi-threaded C++ development framework.
|
Contains the node selector results. More...
#include <epcdns.h>
Public Member Functions | |
NodeSelectorResult () | |
Default constructor. More... | |
const EString & | getHostname () |
Retrieves the host name. More... | |
uint16_t | getOrder () |
Retrieves the order value. More... | |
uint16_t | getPreference () |
Retrieves the preference value. More... | |
uint16_t | getPort () |
Retrieves the IP port value. More... | |
AppProtocolList & | getSupportedProtocols () |
Retrieves the list supported protocols. More... | |
StringVector & | getIPv4Hosts () |
Retrieves the list of IPv4 hosts. More... | |
StringVector & | getIPv6Hosts () |
Retrieves the list of IPv6 hosts. More... | |
uint16_t | setOrder (uint16_t order) |
Assigns the order value. More... | |
uint16_t | setPreference (uint16_t preference) |
Assigns the preference value. More... | |
uint16_t | setPort (uint16_t port) |
Assigns the IP port. More... | |
const EString & | setHostname (const std::string &hostname) |
Assigns the host name. More... | |
Void | addSupportedProtocol (AppProtocol *ap) |
Adds the application object to the list. More... | |
Void | addIPv4Host (const std::string &host) |
Adds an IPv4 host to the list of IPv4 hosts. More... | |
Void | addIPv6Host (const std::string &host) |
Adds an IPv6 host to the list of IPv6 hosts. More... | |
Void | dump (const char *prefix) |
Prints the contents of this object. More... | |
Contains the node selector results.
|
inline |
Default constructor.
|
inline |
Adds an IPv4 host to the list of IPv4 hosts.
host | the IPv4 host to add. |
|
inline |
Adds an IPv6 host to the list of IPv6 hosts.
host | the IPv6 host to add. |
|
inline |
Adds the application object to the list.
ap | the application object to be added to the list. |
|
inline |
Prints the contents of this object.
prefix | a value to prepend to each line. |
|
inline |
Retrieves the host name.
|
inline |
Retrieves the list of IPv4 hosts.
|
inline |
Retrieves the list of IPv6 hosts.
|
inline |
Retrieves the order value.
|
inline |
Retrieves the IP port value.
|
inline |
Retrieves the preference value.
|
inline |
Retrieves the list supported protocols.
|
inline |
Assigns the host name.
hostname | the host name. |
|
inline |
Assigns the order value.
order | the order value. |
|
inline |
Assigns the IP port.
port | the IP port. |
|
inline |
Assigns the preference value.
preference | the preference value. |