IBR-DTNSuite  0.8
dtn::net::LOWPANConnection Class Reference

#include <LOWPANConnection.h>

Inheritance diagram for dtn::net::LOWPANConnection:
Collaboration diagram for dtn::net::LOWPANConnection:

List of all members.

Public Member Functions

 LOWPANConnection (unsigned short _address, LOWPANConvergenceLayer &cl)
virtual ~LOWPANConnection ()
ibrcommon::lowpanstreamgetStream ()
void run ()
void setup ()
void finally ()
void __cancellation ()

Public Attributes

unsigned short _address
LOWPANConnectionSender _sender

Detailed Description

Definition at line 35 of file LOWPANConnection.h.


Constructor & Destructor Documentation

LOWPANConnection constructor

Parameters:
_addressIEEE 802.15.4 short address to identfy the connection
LOWPANConvergenceLayerreference

Definition at line 30 of file LOWPANConnection.cpp.

Definition at line 35 of file LOWPANConnection.cpp.


Member Function Documentation

Implements ibrcommon::Thread.

Definition at line 96 of file LOWPANConnection.cpp.

References _sender, and ibrcommon::JoinableThread::stop().

Here is the call graph for this function:

void dtn::net::LOWPANConnection::finally ( void  ) [virtual]

This method is called when the run() method finishes.

Reimplemented from ibrcommon::Thread.

Definition at line 49 of file LOWPANConnection.cpp.

References _sender, ibrcommon::JoinableThread::join(), dtn::net::LOWPANConvergenceLayer::remove(), and ibrcommon::JoinableThread::stop().

Here is the call graph for this function:

Getting the lowpanstream connected with the LOWPANConnection

Returns:
lowpanstream reference

Definition at line 39 of file LOWPANConnection.cpp.

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

void dtn::net::LOWPANConnection::setup ( void  ) [virtual]

This method is called before the run.

Reimplemented from ibrcommon::Thread.

Definition at line 44 of file LOWPANConnection.cpp.

References _sender, and ibrcommon::JoinableThread::start().

Here is the call graph for this function:


Member Data Documentation

IEEE 802.15.4 short address of the node this connection handles data for.

Definition at line 50 of file LOWPANConnection.h.


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