IBR-DTN
1.0.0
|
#include <AbstractWorker.h>
Public Member Functions | |
AbstractWorker () | |
virtual | ~AbstractWorker () |
virtual const EID | getWorkerURI () const |
virtual void | callbackBundleReceived (const Bundle &b)=0 |
Protected Member Functions | |
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 | |
dtn::data::EID | _eid |
Definition at line 44 of file AbstractWorker.h.
dtn::core::AbstractWorker::AbstractWorker | ( | ) |
Definition at line 144 of file AbstractWorker.cpp.
|
virtual |
Definition at line 169 of file AbstractWorker.cpp.
References shutdown().
|
pure virtual |
|
virtual |
Definition at line 180 of file AbstractWorker.cpp.
References _eid.
|
protected |
Definition at line 158 of file AbstractWorker.cpp.
References _eid, and dtn::data::EID::setApplication().
Referenced by dtn::daemon::EchoWorker::EchoWorker().
|
protected |
Definition at line 174 of file AbstractWorker.cpp.
Referenced by ~AbstractWorker().
|
protected |
subscribe to a end-point
Definition at line 148 of file AbstractWorker.cpp.
|
protected |
Definition at line 185 of file AbstractWorker.cpp.
References dtn::core::BundleCore::inject(), and dtn::core::BundleCore::local.
Referenced by dtn::daemon::DTNTPWorker::callbackBundleReceived(), and dtn::security::KeyExchanger::submit().
|
protected |
unsubscribe to a end-point
Definition at line 153 of file AbstractWorker.cpp.
|
protected |
Definition at line 81 of file AbstractWorker.h.
Referenced by getWorkerURI(), and initialize().