IBR-DTNSuite  0.10
dtn::daemon::Debugger Class Reference

#include <Debugger.h>

Inheritance diagram for dtn::daemon::Debugger:
Inheritance graph
Collaboration diagram for dtn::daemon::Debugger:
Collaboration graph

Public Member Functions

 Debugger ()
 
virtual ~Debugger ()
 
void callbackBundleReceived (const Bundle &b)
 
- Public Member Functions inherited from dtn::core::AbstractWorker
 AbstractWorker ()
 
virtual ~AbstractWorker ()
 
virtual const EID getWorkerURI () const
 
- Public Member Functions inherited from ibrcommon::Mutex
 Mutex (MUTEX_TYPE type=MUTEX_NORMAL)
 
virtual ~Mutex ()
 
virtual void trylock () throw (MutexException)
 
virtual void enter () throw (MutexException)
 
virtual void leave () throw (MutexException)
 
- Public Member Functions inherited from ibrcommon::MutexInterface
virtual ~MutexInterface ()=0
 

Additional Inherited Members

- Public Types inherited from ibrcommon::Mutex
enum  MUTEX_TYPE { MUTEX_NORMAL = PTHREAD_MUTEX_NORMAL, MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE, MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK }
 
- Static Public Member Functions inherited from ibrcommon::Mutex
static MutexInterfacedummy ()
 
- Protected Member Functions inherited from dtn::core::AbstractWorker
void initialize (const std::string &uri, const dtn::data::Number &cbhe, bool async)
 
void transmit (const Bundle &bundle)
 
void shutdown ()
 
void subscribe (const dtn::data::EID &endpoint)
 
void unsubscribe (const dtn::data::EID &endpoint)
 
- Protected Attributes inherited from dtn::core::AbstractWorker
EID _eid
 

Detailed Description

This is a implementation of AbstractWorker and is comparable with a application. This application can send and receive bundles, but only implement a receiving component which print a message on the screen if a bundle is received.

The application suffix to the node eid is /debugger.

Definition at line 42 of file Debugger.h.

Constructor & Destructor Documentation

dtn::daemon::Debugger::Debugger ( )
inline

Definition at line 45 of file Debugger.h.

virtual dtn::daemon::Debugger::~Debugger ( )
inlinevirtual

Definition at line 49 of file Debugger.h.

Member Function Documentation

void dtn::daemon::Debugger::callbackBundleReceived ( const Bundle b)
virtual

Implements dtn::core::AbstractWorker.

Definition at line 34 of file Debugger.cpp.

References IBRCOMMON_LOGGER_DEBUG_TAG, IBRCOMMON_LOGGER_ENDL, and dtn::data::Bundle::toString().

Here is the call graph for this function:


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