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