IBR-DTNSuite
0.12
|
#include <CapsuleWorker.h>
Public Member Functions | |
CapsuleWorker () | |
virtual | ~CapsuleWorker () |
void | callbackBundleReceived (const dtn::data::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 MutexInterface & | dummy () |
Protected Member Functions inherited from dtn::core::AbstractWorker | |
void | initialize (const std::string &uri) |
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 | |
dtn::data::EID | _eid |
Definition at line 34 of file CapsuleWorker.h.
dtn::daemon::CapsuleWorker::CapsuleWorker | ( | ) |
Definition at line 34 of file CapsuleWorker.cpp.
|
virtual |
Definition at line 39 of file CapsuleWorker.cpp.
|
virtual |
Implements dtn::core::AbstractWorker.
Definition at line 43 of file CapsuleWorker.cpp.
References dtn::data::Bundle::find(), dtn::data::PayloadBlock::getBLOB(), dtn::core::BundleCore::getInstance(), IBRCOMMON_LOGGER_ENDL, IBRCOMMON_LOGGER_TAG, ibrcommon::BLOB::Reference::iostream(), dtn::net::BundleReceivedEvent::raise(), dtn::data::BundleID::source, ibrcommon::LogLevel::warning, and ibrcommon::Exception::what().