IBR-DTNSuite
0.8
|
#include <Configuration.h>
Public Member Functions | |
bool | enabled () const |
bool | announce () const |
bool | shortbeacon () const |
char | version () const |
const ibrcommon::vaddress | address () const throw (ParameterNotFoundException) |
int | port () const |
unsigned int | timeout () const |
Protected Member Functions | |
Discovery () | |
virtual | ~Discovery () |
void | load (const ibrcommon::ConfigFile &conf) |
Protected Attributes | |
bool | _enabled |
unsigned int | _timeout |
Friends | |
class | Configuration |
Definition at line 175 of file Configuration.h.
dtn::daemon::Configuration::Discovery::Discovery | ( | ) | [protected] |
Definition at line 72 of file Configuration.cpp.
dtn::daemon::Configuration::Discovery::~Discovery | ( | ) | [protected, virtual] |
Definition at line 105 of file Configuration.cpp.
const ibrcommon::vaddress dtn::daemon::Configuration::Discovery::address | ( | ) | const throw (ParameterNotFoundException) |
Definition at line 452 of file Configuration.cpp.
References dtn::daemon::Configuration::getInstance(), ibrcommon::ConfigFile::read(), and ibrcommon::vaddress::VADDRESS_INET.
Referenced by __daemon_run().
bool dtn::daemon::Configuration::Discovery::announce | ( | ) | const |
Definition at line 799 of file Configuration.cpp.
References dtn::daemon::Configuration::getInstance(), and ibrcommon::ConfigFile::read().
Referenced by dtn::net::DiscoveryAgent::received(), and dtn::net::DiscoveryAgent::timeout().
bool dtn::daemon::Configuration::Discovery::enabled | ( | ) | const |
Definition at line 794 of file Configuration.cpp.
Referenced by __daemon_run().
void dtn::daemon::Configuration::Discovery::load | ( | const ibrcommon::ConfigFile & | conf | ) | [protected, virtual] |
Implements dtn::daemon::Configuration::Extension.
Definition at line 336 of file Configuration.cpp.
References ibrcommon::ConfigFile::read().
Referenced by dtn::daemon::Configuration::load().
int dtn::daemon::Configuration::Discovery::port | ( | ) | const |
Definition at line 462 of file Configuration.cpp.
References dtn::daemon::Configuration::getInstance(), and ibrcommon::ConfigFile::read().
Referenced by __daemon_run().
bool dtn::daemon::Configuration::Discovery::shortbeacon | ( | ) | const |
Definition at line 804 of file Configuration.cpp.
References dtn::daemon::Configuration::getInstance(), and ibrcommon::ConfigFile::read().
Referenced by dtn::net::IPNDAgent::sendAnnoucement().
unsigned int dtn::daemon::Configuration::Discovery::timeout | ( | ) | const |
Definition at line 467 of file Configuration.cpp.
Referenced by dtn::net::DiscoveryAgent::received().
char dtn::daemon::Configuration::Discovery::version | ( | ) | const |
Definition at line 809 of file Configuration.cpp.
References dtn::daemon::Configuration::getInstance(), and ibrcommon::ConfigFile::read().
Referenced by dtn::net::IPNDAgent::IPNDAgent().
friend class Configuration [friend] |
Definition at line 177 of file Configuration.h.
bool dtn::daemon::Configuration::Discovery::_enabled [protected] |
Definition at line 183 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().
unsigned int dtn::daemon::Configuration::Discovery::_timeout [protected] |
Definition at line 184 of file Configuration.h.