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

#include <Notifier.h>

Inheritance diagram for dtn::daemon::Notifier:
Collaboration diagram for dtn::daemon::Notifier:

List of all members.

Public Member Functions

 Notifier (std::string cmd)
virtual ~Notifier ()
void raiseEvent (const dtn::core::Event *evt)
void notify (std::string title, std::string msg)
virtual const std::string getName () const

Protected Member Functions

virtual void componentUp ()
virtual void componentDown ()

Detailed Description

Definition at line 19 of file Notifier.h.


Constructor & Destructor Documentation

dtn::daemon::Notifier::Notifier ( std::string  cmd)

Definition at line 20 of file Notifier.cpp.

Definition at line 24 of file Notifier.cpp.


Member Function Documentation

void dtn::daemon::Notifier::componentDown ( ) [protected, virtual]

Implements dtn::daemon::IntegratedComponent.

Definition at line 33 of file Notifier.cpp.

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

Here is the call graph for this function:

void dtn::daemon::Notifier::componentUp ( ) [protected, virtual]

Implements dtn::daemon::IntegratedComponent.

Definition at line 28 of file Notifier.cpp.

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

Here is the call graph for this function:

const std::string dtn::daemon::Notifier::getName ( ) const [virtual]
See also:
Component::getName()

Implements dtn::daemon::Component.

Definition at line 72 of file Notifier.cpp.

void dtn::daemon::Notifier::notify ( std::string  title,
std::string  msg 
)

Definition at line 63 of file Notifier.cpp.

Referenced by raiseEvent().


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