#include <Component.h>
Inherits dtn::daemon::Component, and ibrcommon::JoinableThread.
Inherited by dtn::core::SQLiteBundleStorage, dtn::daemon::ApiServer, dtn::net::DiscoveryAgent, dtn::net::HTTPConvergenceLayer, dtn::net::LOWPANConvergenceLayer, dtn::net::TCPConvergenceLayer, and dtn::net::UDPConvergenceLayer.

Public Member Functions | |
| IndependentComponent () | |
| virtual | ~IndependentComponent () |
| virtual void | initialize () |
| virtual void | startup () |
| virtual void | terminate () |
Protected Member Functions | |
| void | run () |
| virtual bool | __cancellation ()=0 |
| virtual void | componentUp ()=0 |
| virtual void | componentRun ()=0 |
| virtual void | componentDown ()=0 |
Independent components are working in an own thread.
Definition at line 56 of file Component.h.
| dtn::daemon::IndependentComponent::IndependentComponent | ( | ) |
Definition at line 20 of file Component.cpp.
| dtn::daemon::IndependentComponent::~IndependentComponent | ( | ) | [virtual] |
Definition at line 24 of file Component.cpp.
References ibrcommon::JoinableThread::join().

| virtual bool dtn::daemon::IndependentComponent::__cancellation | ( | ) | [protected, pure virtual] |
Reimplemented from ibrcommon::Thread.
Implemented in dtn::net::HTTPConvergenceLayer.
| virtual void dtn::daemon::IndependentComponent::componentDown | ( | ) | [protected, pure virtual] |
Implemented in dtn::net::HTTPConvergenceLayer.
Referenced by terminate().
| virtual void dtn::daemon::IndependentComponent::componentRun | ( | ) | [protected, pure virtual] |
Implemented in dtn::net::HTTPConvergenceLayer.
Referenced by run().
| virtual void dtn::daemon::IndependentComponent::componentUp | ( | ) | [protected, pure virtual] |
Implemented in dtn::net::HTTPConvergenceLayer.
Referenced by initialize().
| void dtn::daemon::IndependentComponent::initialize | ( | ) | [virtual] |
Definition at line 29 of file Component.cpp.
References componentUp().

| void dtn::daemon::IndependentComponent::run | ( | ) | [protected, virtual] |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 49 of file Component.cpp.
References componentRun().

| void dtn::daemon::IndependentComponent::startup | ( | ) | [virtual] |
Definition at line 34 of file Component.cpp.
References IBRCOMMON_LOGGER, ibrcommon::JoinableThread::start(), and ibrcommon::Exception::what().

| void dtn::daemon::IndependentComponent::terminate | ( | ) | [virtual] |
Definition at line 43 of file Component.cpp.
References componentDown(), and ibrcommon::JoinableThread::stop().

1.7.1