|
EpcTools
An event based multi-threaded C++ development framework.
|
Represents a colocated candidate. More...
#include <epcdns.h>
Public Types | |
| enum | PairType { ptUnknown = 0, ptColocated = 1, ptTopologicalDistance = 2, ptDNSPriority = 3 } |
| Pair type. More... | |
Public Member Functions | |
| ColocatedCandidate (NodeSelectorResult &candidate1, NodeSelectorResult &candidate2) | |
| Class constructor. More... | |
| NodeSelectorResult & | getCandidate1 () |
| Retrieves the first candidate node selector result object. More... | |
| NodeSelectorResult & | getCandidate2 () |
| Retrieves the second candidate node selector result object. More... | |
| CanonicalNodeName & | getCanonicalNodeName1 () |
| Retrieves the first canonical node name. More... | |
| CanonicalNodeName & | getCanonicalNodeName2 () |
| Retrieves the second canonical node name. More... | |
| PairType | getPairType () |
| Retrieves the pair type. More... | |
| int | getTopologicalMatches () |
| Retrieves the number of topological matches. More... | |
| Void | dump (const char *prefix) |
| Prints the contents of this object. More... | |
Represents a colocated candidate.
Pair type.
| Enumerator | |
|---|---|
| ptUnknown | unknown |
| ptColocated | colocated |
| ptTopologicalDistance | topological distance |
| ptDNSPriority | DNS priority. |
| ColocatedCandidate::ColocatedCandidate | ( | NodeSelectorResult & | candidate1, |
| NodeSelectorResult & | candidate2 | ||
| ) |
Class constructor.
| candidate1 | the first candidate. |
| candidate2 | the second candidate. |
|
inline |
Prints the contents of this object.
| prefix | a value to prepend to each line. |
|
inline |
Retrieves the first candidate node selector result object.
|
inline |
Retrieves the second candidate node selector result object.
|
inline |
Retrieves the first canonical node name.
|
inline |
Retrieves the second canonical node name.
|
inline |
Retrieves the pair type.
|
inline |
Retrieves the number of topological matches.
1.8.16