IBR-DTNSuite
0.8
|
#include <Component.h>
Public Member Functions | |
virtual | ~Component ()=0 |
virtual void | initialize ()=0 |
virtual void | startup ()=0 |
virtual void | terminate ()=0 |
virtual const std::string | getName () const =0 |
Definition at line 18 of file Component.h.
dtn::daemon::Component::~Component | ( | ) | [pure virtual] |
Destructor of the component. This should be called after all components are terminated.
Definition at line 16 of file Component.cpp.
virtual const std::string dtn::daemon::Component::getName | ( | ) | const [pure virtual] |
Return an identifier for this component
Implemented in dtn::net::TCPConvergenceLayer, dtn::routing::BaseRouter, dtn::net::DatagramConvergenceLayer, dtn::dht::DHTNameService, dtn::core::BundleCore, dtn::storage::SimpleBundleStorage, dtn::storage::MemoryBundleStorage, dtn::security::SecurityCertificateManager, dtn::net::ConnectionManager, dtn::net::HTTPConvergenceLayer, dtn::daemon::StatisticLogger, dtn::net::UDPConvergenceLayer, dtn::net::LOWPANConvergenceLayer, dtn::net::IPNDAgent, dtn::core::WallClock, dtn::core::FragmentManager, dtn::security::TLSStreamComponent, dtn::api::ApiServer, dtn::net::FileConvergenceLayer, dtn::daemon::Notifier, dtn::daemon::StandByManager, and dtn::net::FileMonitor.
Referenced by dtn::daemon::StandByManager::adopt().
virtual void dtn::daemon::Component::initialize | ( | ) | [pure virtual] |
Set up the component. At this stage no other components should be used.
Implemented in dtn::security::SecurityCertificateManager, dtn::daemon::IntegratedComponent, dtn::daemon::IndependentComponent, and dtn::security::TLSStreamComponent.
virtual void dtn::daemon::Component::startup | ( | ) | [pure virtual] |
Start up the component. At this stage all other components are ready.
Implemented in dtn::security::SecurityCertificateManager, dtn::daemon::IntegratedComponent, dtn::daemon::IndependentComponent, and dtn::security::TLSStreamComponent.
virtual void dtn::daemon::Component::terminate | ( | ) | [pure virtual] |
Terminate the component and do some cleanup stuff. All other components still exists, but may not serve signals.
Implemented in dtn::security::SecurityCertificateManager, dtn::daemon::IntegratedComponent, dtn::daemon::IndependentComponent, and dtn::security::TLSStreamComponent.