|
IBR-DTN
1.0.0
|
#include <Debugger.h>


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 |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::core::AbstractWorker | |
| void | initialize (const std::string &uri) |
| void | transmit (dtn::data::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 | |
| dtn::data::EID | _eid |
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 39 of file Debugger.h.
|
inline |
Definition at line 42 of file Debugger.h.
|
inlinevirtual |
Definition at line 46 of file Debugger.h.
|
virtual |
Implements dtn::core::AbstractWorker.
Definition at line 30 of file Debugger.cpp.
References dtn::data::PrimaryBlock::appdatalength, dtn::data::Bundle::begin(), dtn::data::PrimaryBlock::custodian, dtn::data::PrimaryBlock::destination, dtn::data::Bundle::end(), dtn::data::BundleID::fragmentoffset, dtn::data::SDNV< E >::get(), dtn::data::Block::getLength(), dtn::data::Block::getProcessingFlags(), dtn::data::EID::getString(), dtn::data::Block::getType(), dtn::data::PrimaryBlock::lifetime, dtn::data::PrimaryBlock::procflags, dtn::data::PrimaryBlock::reportto, dtn::data::BundleID::sequencenumber, dtn::data::BundleID::source, and dtn::data::BundleID::timestamp.
