IBR-DTNSuite  0.8
dtn::daemon::Component Class Reference

#include <Component.h>

Inheritance diagram for dtn::daemon::Component:

List of all members.

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

Detailed Description

Definition at line 18 of file Component.h.


Constructor & Destructor Documentation

Destructor of the component. This should be called after all components are terminated.

Returns:

Definition at line 16 of file Component.cpp.


Member Function Documentation

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.


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