IBR-DTNSuite  0.10
dtn::net::LOWPANConnectionSender Class Reference

#include <LOWPANConnection.h>

Inheritance diagram for dtn::net::LOWPANConnectionSender:
Inheritance graph
Collaboration diagram for dtn::net::LOWPANConnectionSender:
Collaboration graph

Public Member Functions

 LOWPANConnectionSender (ibrcommon::lowpanstream &_stream)
 
virtual ~LOWPANConnectionSender ()
 
void queue (const dtn::net::BundleTransfer &job)
 
void run () throw ()
 
void __cancellation () throw ()
 
- Public Member Functions inherited from ibrcommon::JoinableThread
virtual ~JoinableThread ()=0
 
void join (void) throw (ThreadException)
 
bool isRunning (void)
 
void start (int priority=0) throw (ThreadException)
 
void stop () throw ()
 

Additional Inherited Members

- Protected Member Functions inherited from ibrcommon::JoinableThread
 JoinableThread (size_t size=DEFAULT_STACKSIZE)
 
- Static Protected Member Functions inherited from ibrcommon::Thread
static size_t getNumberOfProcessors ()
 
static void yield (void)
 
static void sleep (time_t timeout)
 
static void concurrency (int level)
 
static bool equal (pthread_t thread1, pthread_t thread2)
 
static void * __execute__ (void *obj) throw ()
 

Detailed Description

Definition at line 36 of file LOWPANConnection.h.

Constructor & Destructor Documentation

dtn::net::LOWPANConnectionSender::LOWPANConnectionSender ( ibrcommon::lowpanstream _stream)

Definition at line 111 of file LOWPANConnection.cpp.

dtn::net::LOWPANConnectionSender::~LOWPANConnectionSender ( )
virtual

Definition at line 116 of file LOWPANConnection.cpp.

Member Function Documentation

void dtn::net::LOWPANConnectionSender::__cancellation ( ) throw ()
virtual

Implements ibrcommon::Thread.

Definition at line 155 of file LOWPANConnection.cpp.

References ibrcommon::Queue< T >::abort().

Here is the call graph for this function:

void dtn::net::LOWPANConnectionSender::queue ( const dtn::net::BundleTransfer job)

Queueing a job, originally coming from the DTN core, to work its way down to the CL through the lowpanstream

Parameters
jobReference to the job conatining EID and bundle

Definition at line 120 of file LOWPANConnection.cpp.

References IBRCOMMON_LOGGER_DEBUG_TAG, IBRCOMMON_LOGGER_ENDL, and ibrcommon::Queue< T >::push().

Referenced by dtn::net::LOWPANConvergenceLayer::queue().

Here is the call graph for this function:

void dtn::net::LOWPANConnectionSender::run ( ) throw ()
virtual

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