IBR-DTNSuite
0.12
|
#include <Component.h>
Public Member Functions | |
IntegratedComponent () | |
virtual | ~IntegratedComponent () |
virtual void | initialize () throw () |
virtual void | startup () throw () |
virtual void | terminate () throw () |
Public Member Functions inherited from dtn::daemon::Component | |
virtual | ~Component ()=0 |
virtual const std::string | getName () const =0 |
Protected Member Functions | |
virtual void | componentUp ()=0 throw () |
virtual void | componentDown ()=0 throw () |
Definition at line 109 of file Component.h.
dtn::daemon::IntegratedComponent::IntegratedComponent | ( | ) |
Definition at line 71 of file Component.cpp.
|
virtual |
Definition at line 75 of file Component.cpp.
|
protectedpure virtual |
Implemented in dtn::routing::BaseRouter, dtn::core::BundleCore, dtn::storage::SimpleBundleStorage, dtn::net::ConnectionManager, dtn::storage::MemoryBundleStorage, dtn::net::EMailConvergenceLayer, dtn::security::SecurityCertificateManager, dtn::core::EventSwitch, dtn::net::DiscoveryAgent, dtn::core::WallClock, and dtn::core::EventDebugger.
Referenced by terminate().
|
protectedpure virtual |
Implemented in dtn::routing::BaseRouter, dtn::core::BundleCore, dtn::storage::SimpleBundleStorage, dtn::net::ConnectionManager, dtn::storage::MemoryBundleStorage, dtn::net::EMailConvergenceLayer, dtn::security::SecurityCertificateManager, dtn::core::EventSwitch, dtn::net::DiscoveryAgent, dtn::core::WallClock, and dtn::core::EventDebugger.
Referenced by initialize().
|
virtual |
Set up the component. At this stage no other components should be used.
Implements dtn::daemon::Component.
Definition at line 79 of file Component.cpp.
References componentUp().
Referenced by dtn::core::BundleCore::componentUp().
|
virtual |
Start up the component. At this stage all other components are ready.
Implements dtn::daemon::Component.
Definition at line 84 of file Component.cpp.
Referenced by dtn::core::BundleCore::componentUp().
|
virtual |
Terminate the component and do some cleanup stuff. All other components still exists, but may not serve signals.
Implements dtn::daemon::Component.
Definition at line 89 of file Component.cpp.
References componentDown().
Referenced by dtn::core::BundleCore::componentDown(), and dtn::daemon::NativeEventLoop::run().