OverSim
IterativeLookupConfiguration Class Reference

This class holds the lookup configuration. More...

#include <IterativeLookupConfiguration.h>

Public Attributes

int redundantNodes
 number of next hops in each step
int parallelPaths
 number of parallel paths
int parallelRpcs
 number of nodes to ask in parallel
bool strictParallelRpcs
 limited the number of concurrent RPCS to parameter parallelRpcs
bool useAllParallelResponses
 merge all parallel responses from earlier steps
bool newRpcOnEveryTimeout
 send a new RPC immediately after an RPC timeouts
bool newRpcOnEveryResponse
 send a new RPC after every response, even if there was no progress
bool finishOnFirstUnchanged
 finish lookup, if the last pending RPC returned without progress
bool verifySiblings
 true, if siblings need to be authenticated with a ping
bool majoritySiblings
 true, if sibling candidates are selected by a majority decision if using parallel paths
bool merge
 true, if parallel RPCs results should be merged
bool failedNodeRpcs
 communicate failed nodes
bool visitOnlyOnce
 if true, the same node is never asked twice during a single lookup
bool acceptLateSiblings
 if true, a FindNodeResponse with sibling flag set is always accepted, even if it is from a previous lookup step

Detailed Description

This class holds the lookup configuration.

Author
Sebastian Mies, Ingmar Baumgart

Definition at line 32 of file IterativeLookupConfiguration.h.

Member Data Documentation

bool IterativeLookupConfiguration::acceptLateSiblings

if true, a FindNodeResponse with sibling flag set is always accepted, even if it is from a previous lookup step

Definition at line 48 of file IterativeLookupConfiguration.h.

Referenced by IterativeLookup::handleRpcResponse().

bool IterativeLookupConfiguration::failedNodeRpcs

communicate failed nodes

Definition at line 46 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::handleTimeout().

bool IterativeLookupConfiguration::finishOnFirstUnchanged

finish lookup, if the last pending RPC returned without progress

Definition at line 42 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::sendRpc().

bool IterativeLookupConfiguration::majoritySiblings

true, if sibling candidates are selected by a majority decision if using parallel paths

Definition at line 44 of file IterativeLookupConfiguration.h.

Referenced by IterativeLookup::checkStop(), and IterativeLookup::IterativeLookup().

bool IterativeLookupConfiguration::merge
bool IterativeLookupConfiguration::newRpcOnEveryResponse

send a new RPC after every response, even if there was no progress

Definition at line 41 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::handleResponse().

bool IterativeLookupConfiguration::newRpcOnEveryTimeout

send a new RPC immediately after an RPC timeouts

Definition at line 40 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::sendNewRpcAfterTimeout().

int IterativeLookupConfiguration::parallelPaths
int IterativeLookupConfiguration::parallelRpcs
bool IterativeLookupConfiguration::strictParallelRpcs

limited the number of concurrent RPCS to parameter parallelRpcs

Definition at line 38 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::sendRpc().

bool IterativeLookupConfiguration::useAllParallelResponses

merge all parallel responses from earlier steps

Definition at line 39 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::accepts().

bool IterativeLookupConfiguration::verifySiblings

true, if siblings need to be authenticated with a ping

Definition at line 43 of file IterativeLookupConfiguration.h.

Referenced by IterativeLookup::addSibling(), and IterativeLookup::IterativeLookup().

bool IterativeLookupConfiguration::visitOnlyOnce

if true, the same node is never asked twice during a single lookup

Definition at line 47 of file IterativeLookupConfiguration.h.

Referenced by IterativePathLookup::sendRpc().


The documentation for this class was generated from the following file: