|
EpcTools
An event based multi-threaded C++ development framework.
|
contains the information to select a node. More...
#include <epcdns.h>
Public Member Functions | |
| DNS::namedserverid_t | getNamedServerID () |
| Retrieves the named server ID. More... | |
| DNS::namedserverid_t | setNamedServerID (DNS::namedserverid_t nsid) |
| Assigns the named server ID. More... | |
| AppServiceEnum | getDesiredService () |
| Retrieves the desired application service type. More... | |
| AppProtocolList & | getDesiredProtocols () |
| Retrieves the list of application protocols. More... | |
| const EString & | getDomainName () |
| Retrieves the domain name. More... | |
| NodeSelectorResultList & | getResults () |
| Retrieves the node selector results list. More... | |
| UsageType | addDesiredUsageType (UsageType ut) |
| Adds a desired usage type to the list of desired usage types. More... | |
| NetworkCapability & | addDesiredNetworkCapability (const char *nc) |
| Adds a desired network capability to the list of desired network capabilities. More... | |
| NetworkCapability & | addDesiredNetworkCapability (NetworkCapability &nc) |
| Adds a desired network capability to the list of desired network capabilities. More... | |
| NodeSelectorResultList & | process () |
| Performs synchronous selection process. More... | |
| Void | process (cpVoid data, AsyncNodeSelectorCallback cb) |
| Performs asynchronous node selection process. More... | |
| Void | dump () |
| Prints the contents of this object. More... | |
Protected Member Functions | |
| NodeSelector () | |
| Default constructor. More... | |
| ~NodeSelector () | |
| Class destructor. More... | |
| AppServiceEnum | setAppService (AppServiceEnum s) |
| Assigns the application service type. More... | |
| const EString & | setDomainName (const std::string &d) |
| Assigns the domain name. More... | |
| Void | addDesiredProtocol (AppProtocol *ap) |
| Adds a desired application protcol to the desired protocol list. More... | |
contains the information to select a node.
|
protected |
Default constructor.
|
protected |
Class destructor.
|
inline |
Adds a desired network capability to the list of desired network capabilities.
| nc | the desired network capability to add. |
|
inline |
Adds a desired network capability to the list of desired network capabilities.
| nc | the desired network capability to add. |
|
inlineprotected |
Adds a desired application protcol to the desired protocol list.
| ap | the desired application protocol. |
|
inline |
Adds a desired usage type to the list of desired usage types.
| ut | the usage type to add. |
|
inline |
Prints the contents of this object.
|
inline |
Retrieves the list of application protocols.
|
inline |
Retrieves the desired application service type.
|
inline |
Retrieves the domain name.
|
inline |
Retrieves the named server ID.
|
inline |
Retrieves the node selector results list.
| NodeSelectorResultList & NodeSelector::process | ( | ) |
Performs synchronous selection process.
| Void NodeSelector::process | ( | cpVoid | data, |
| AsyncNodeSelectorCallback | cb | ||
| ) |
Performs asynchronous node selection process.
| data | a void pointer that will be passed to the callback when complete. |
| cb | a pointer to the callback function that will be called when the node selection is complete. |
|
inlineprotected |
Assigns the application service type.
| s | the application service type. |
|
inlineprotected |
Assigns the domain name.
| d | the domain name. |
|
inline |
Assigns the named server ID.
| nsid | the named server ID. |
1.8.16