IBR-DTNSuite  0.8
dtn::security::TLSStreamComponent Class Reference

This class acts as an event receiver for SecurityCertificateManager Events and forwards them to the TLSStream class. More...

#include <TLSStreamComponent.h>

Inheritance diagram for dtn::security::TLSStreamComponent:
Collaboration diagram for dtn::security::TLSStreamComponent:

List of all members.

Public Member Functions

 TLSStreamComponent ()
 The default constructor.
virtual ~TLSStreamComponent ()
 The default destructor.
virtual void raiseEvent (const dtn::core::Event *evt)
 callback function that is called if an event happened.
virtual void initialize ()
virtual void startup ()
virtual void terminate ()
virtual const std::string getName () const

Detailed Description

This class acts as an event receiver for SecurityCertificateManager Events and forwards them to the TLSStream class.

Definition at line 21 of file TLSStreamComponent.h.


Constructor & Destructor Documentation

The default constructor.

Definition at line 20 of file TLSStreamComponent.cpp.

The default destructor.

Definition at line 24 of file TLSStreamComponent.cpp.


Member Function Documentation

const std::string dtn::security::TLSStreamComponent::getName ( ) const [virtual]

Return an identifier for this component

Returns:

Implements dtn::daemon::Component.

Definition at line 63 of file TLSStreamComponent.cpp.

Set up the component. At this stage no other components should be used.

Implements dtn::daemon::Component.

Definition at line 45 of file TLSStreamComponent.cpp.

References dtn::core::EventReceiver::bindEvent(), and dtn::security::CertificateManagerInitEvent::className.

Here is the call graph for this function:

callback function that is called if an event happened.

Parameters:
evtthe event

Implements dtn::core::EventReceiver.

Definition at line 29 of file TLSStreamComponent.cpp.

References dtn::security::CertificateManagerInitEvent::className, dtn::daemon::Configuration::getInstance(), dtn::core::Event::getName(), dtn::daemon::Configuration::getSecurity(), and init().

Here is the call graph for this function:

Start up the component. At this stage all other components are ready.

Implements dtn::daemon::Component.

Definition at line 51 of file TLSStreamComponent.cpp.

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 57 of file TLSStreamComponent.cpp.

References dtn::security::CertificateManagerInitEvent::className, and dtn::core::EventReceiver::unbindEvent().

Here is the call graph for this function:


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