IBR-DTNSuite  0.12
dtn::daemon::Configuration::Daemon Class Reference

#include <Configuration.h>

Inheritance diagram for dtn::daemon::Configuration::Daemon:
Inheritance graph
Collaboration diagram for dtn::daemon::Configuration::Daemon:
Collaboration graph

Public Member Functions

bool daemonize () const
 
const ibrcommon::FilegetPidFile () const
 
bool kill_daemon () const
 
dtn::data::Size getThreads () const
 

Protected Member Functions

 Daemon ()
 
virtual ~Daemon ()
 
void load (const ibrcommon::ConfigFile &conf)
 

Friends

class Configuration
 

Detailed Description

Definition at line 501 of file Configuration.h.

Constructor & Destructor Documentation

dtn::daemon::Configuration::Daemon::Daemon ( )
protected

Definition at line 102 of file Configuration.cpp.

dtn::daemon::Configuration::Daemon::~Daemon ( )
protectedvirtual

Definition at line 130 of file Configuration.cpp.

Member Function Documentation

bool dtn::daemon::Configuration::Daemon::daemonize ( ) const

Definition at line 1267 of file Configuration.cpp.

Referenced by __daemon_run(), and main().

const ibrcommon::File & dtn::daemon::Configuration::Daemon::getPidFile ( ) const

Definition at line 1282 of file Configuration.cpp.

Referenced by main().

dtn::data::Size dtn::daemon::Configuration::Daemon::getThreads ( ) const

Definition at line 1277 of file Configuration.cpp.

Referenced by dtn::daemon::NativeEventLoop::run().

bool dtn::daemon::Configuration::Daemon::kill_daemon ( ) const

Definition at line 1272 of file Configuration.cpp.

Referenced by main().

void dtn::daemon::Configuration::Daemon::load ( const ibrcommon::ConfigFile conf)
protectedvirtual

Implements dtn::daemon::Configuration::Extension.

Definition at line 422 of file Configuration.cpp.

Friends And Related Function Documentation

friend class Configuration
friend

Definition at line 503 of file Configuration.h.


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