#include <Configuration.h>
Definition at line 547 of file Configuration.h.
dtn::daemon::Configuration::DHT::DHT |
( |
) | |
|
|
protected |
dtn::daemon::Configuration::DHT::~DHT |
( |
) | |
|
|
protectedvirtual |
bool dtn::daemon::Configuration::DHT::enabled |
( |
) | |
const |
std::vector< string > dtn::daemon::Configuration::DHT::getDNSBootstrappingNames |
( |
) | |
const |
string dtn::daemon::Configuration::DHT::getID |
( |
) | |
const |
- Returns
- a string, which should be used to generate a dht id
Definition at line 1333 of file Configuration.cpp.
std::vector< string > dtn::daemon::Configuration::DHT::getIPBootstrappingIPs |
( |
) | |
const |
string dtn::daemon::Configuration::DHT::getIPv4Binding |
( |
) | |
const |
- Returns
- a exact IPv4 address, to be used to bind the dht IPv4 socket
Definition at line 1363 of file Configuration.cpp.
string dtn::daemon::Configuration::DHT::getIPv6Binding |
( |
) | |
const |
- Returns
- a exact IPv6 address, to be used to bind the dht IPv6 socket
Definition at line 1367 of file Configuration.cpp.
int dtn::daemon::Configuration::DHT::getMinimumRating |
( |
) | |
const |
string dtn::daemon::Configuration::DHT::getPathToNodeFiles |
( |
) | |
const |
Gives a path to a file, where the dtndht lib could save good nodes on shutdown, or read good nodes used as the last session to bootstrap from them. If it doesn't exist, it will be created by the lib on writing good nodes.
- Returns
- a string with the path to the file
Definition at line 1372 of file Configuration.cpp.
unsigned int dtn::daemon::Configuration::DHT::getPort |
( |
) | |
const |
std::vector<int> dtn::daemon::Configuration::DHT::getPortFilter |
( |
) | |
const |
- Returns
- a list of all allowed ports
bool dtn::daemon::Configuration::DHT::ignoreDHTNeighbourInformations |
( |
) | |
const |
If this method return true, neighbours of a found node should be ignored. This can be useful, if any routing algorithm can do this instead. If a routing algorithm, like prophet, askes also for the neighbours of a node, this method should return true, otherwise, the sent informations about the neighbours will be used to create static routes to the neighbour over the answering node.
- Returns
- True, if the neighbours of a found Node should be ignored, default is false
Definition at line 1412 of file Configuration.cpp.
bool dtn::daemon::Configuration::DHT::isBlacklistEnabled |
( |
) | |
const |
- Returns
- True, if a blacklist should be used by the dtndht lib
Definition at line 1407 of file Configuration.cpp.
bool dtn::daemon::Configuration::DHT::isDNSBootstrappingEnabled |
( |
) | |
const |
bool dtn::daemon::Configuration::DHT::isIPBootstrappingEnabled |
( |
) | |
const |
bool dtn::daemon::Configuration::DHT::isIPv4Enabled |
( |
) | |
const |
bool dtn::daemon::Configuration::DHT::isIPv6Enabled |
( |
) | |
const |
bool dtn::daemon::Configuration::DHT::isNeighbourAllowedToAnnounceMe |
( |
) | |
const |
- Returns
- True, if all neighbours are allowed to announce me
Definition at line 1402 of file Configuration.cpp.
bool dtn::daemon::Configuration::DHT::isNeighbourAnnouncementEnabled |
( |
) | |
const |
bool dtn::daemon::Configuration::DHT::isSelfAnnouncingEnabled |
( |
) | |
const |
- Returns
- True, if this daemon should announce itself on the dht
Definition at line 1387 of file Configuration.cpp.
bool dtn::daemon::Configuration::DHT::randomID |
( |
) | |
const |
- Returns
- True, if no string was given to generate a dht id
Definition at line 1338 of file Configuration.cpp.
bool dtn::daemon::Configuration::DHT::randomPort |
( |
) | |
const |
The documentation for this class was generated from the following files: