IBR-DTNSuite  0.8
daemon/src/security/TLSStreamComponent.h
Go to the documentation of this file.
00001 /*
00002  * TLSStreamComponent.h
00003  *
00004  *  Created on: Apr 2, 2011
00005  *      Author: roettger
00006  */
00007 
00008 #ifndef TLSSTREAMCOMPONENT_H_
00009 #define TLSSTREAMCOMPONENT_H_
00010 
00011 #include "Component.h"
00012 #include "core/EventReceiver.h"
00013 
00014 namespace dtn {
00015 
00016 namespace security {
00017 
00021 class TLSStreamComponent: public dtn::core::EventReceiver, public dtn::daemon::Component {
00022 public:
00024         TLSStreamComponent();
00026         virtual ~TLSStreamComponent();
00027 
00032         virtual void raiseEvent(const dtn::core::Event *evt);
00033 
00034     /* functions from Component */
00035     virtual void initialize();
00036         virtual void startup();
00037         virtual void terminate();
00038         virtual const std::string getName() const;
00039 };
00040 
00041 }
00042 
00043 }
00044 
00045 #endif /* TLSSTREAMCOMPONENT_H_ */