IBR-DTNSuite
0.8
|
#include <LOWPANConnection.h>
Public Member Functions | |
LOWPANConnectionSender (ibrcommon::lowpanstream &_stream) | |
virtual | ~LOWPANConnectionSender () |
void | queue (const ConvergenceLayer::Job &job) |
void | run () |
void | __cancellation () |
Definition at line 15 of file LOWPANConnection.h.
Definition at line 102 of file LOWPANConnection.cpp.
Definition at line 107 of file LOWPANConnection.cpp.
void dtn::net::LOWPANConnectionSender::__cancellation | ( | ) | [virtual] |
Implements ibrcommon::Thread.
Definition at line 147 of file LOWPANConnection.cpp.
References ibrcommon::Queue< T >::abort().
void dtn::net::LOWPANConnectionSender::queue | ( | const ConvergenceLayer::Job & | job | ) |
Queueing a job, originally coming from the DTN core, to work its way down to the CL through the lowpanstream
job | Reference to the job conatining EID and bundle |
Definition at line 111 of file LOWPANConnection.cpp.
References IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, and ibrcommon::Queue< T >::push().
Referenced by dtn::net::LOWPANConvergenceLayer::queue().
void dtn::net::LOWPANConnectionSender::run | ( | ) | [virtual] |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 117 of file LOWPANConnection.cpp.
References dtn::net::ConvergenceLayer::Job::_bundle, dtn::net::ConvergenceLayer::Job::_destination, dtn::core::BUNDLE_FORWARDED, dtn::storage::BundleStorage::get(), dtn::core::BundleCore::getInstance(), ibrcommon::Queue< T >::getnpop(), dtn::core::BundleCore::getStorage(), IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, dtn::net::TransferCompletedEvent::raise(), and dtn::core::BundleEvent::raise().