IBR-DTNSuite 0.6

dtn::net::LOWPANConvergenceLayer Class Reference

#include <LOWPANConvergenceLayer.h>

Inheritance diagram for dtn::net::LOWPANConvergenceLayer:
Collaboration diagram for dtn::net::LOWPANConvergenceLayer:

List of all members.

Public Member Functions

 LOWPANConvergenceLayer (ibrcommon::vinterface net, int panid, bool broadcast=false, unsigned int mtu=127)
virtual ~LOWPANConvergenceLayer ()
void update (const ibrcommon::vinterface &iface, std::string &name, std::string &data) throw (dtn::net::DiscoveryServiceProvider::NoServiceHereException)
dtn::core::Node::Protocol getDiscoveryProtocol () const
void queue (const dtn::core::Node &n, const ConvergenceLayer::Job &job)
LOWPANConvergenceLayeroperator>> (dtn::data::Bundle &)
virtual const std::string getName () const

Protected Member Functions

virtual void componentUp ()
virtual void componentRun ()
virtual void componentDown ()
bool __cancellation ()

Detailed Description

This class implement a ConvergenceLayer for LOWPAN.

Definition at line 20 of file LOWPANConvergenceLayer.h.


Constructor & Destructor Documentation

dtn::net::LOWPANConvergenceLayer::LOWPANConvergenceLayer ( ibrcommon::vinterface  net,
int  panid,
bool  broadcast = false,
unsigned int  mtu = 127 
)

Definition at line 45 of file LOWPANConvergenceLayer.cpp.

dtn::net::LOWPANConvergenceLayer::~LOWPANConvergenceLayer ( ) [virtual]

Definition at line 51 of file LOWPANConvergenceLayer.cpp.

References componentDown().

Here is the call graph for this function:


Member Function Documentation

bool dtn::net::LOWPANConvergenceLayer::__cancellation ( ) [protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 215 of file LOWPANConvergenceLayer.cpp.

void dtn::net::LOWPANConvergenceLayer::componentDown ( ) [protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 183 of file LOWPANConvergenceLayer.cpp.

References ibrcommon::JoinableThread::join(), and ibrcommon::lowpansocket::shutdown().

Referenced by ~LOWPANConvergenceLayer().

Here is the call graph for this function:

void dtn::net::LOWPANConvergenceLayer::componentRun ( ) [protected, virtual]
void dtn::net::LOWPANConvergenceLayer::componentUp ( ) [protected, virtual]
dtn::core::Node::Protocol dtn::net::LOWPANConvergenceLayer::getDiscoveryProtocol ( ) const [virtual]

Implements dtn::net::ConvergenceLayer.

Definition at line 57 of file LOWPANConvergenceLayer.cpp.

References dtn::core::Node::CONN_ZIGBEE.

const std::string dtn::net::LOWPANConvergenceLayer::getName ( ) const [virtual]
See also:
Component::getName()

Implements dtn::daemon::Component.

Definition at line 221 of file LOWPANConvergenceLayer.cpp.

LOWPANConvergenceLayer & dtn::net::LOWPANConvergenceLayer::operator>> ( dtn::data::Bundle bundle)

Definition at line 146 of file LOWPANConvergenceLayer.cpp.

References dtn::core::BundleCore::getInstance(), and ibrcommon::lowpansocket::receive().

Here is the call graph for this function:

void dtn::net::LOWPANConvergenceLayer::update ( const ibrcommon::vinterface iface,
std::string &  name,
std::string &  data 
) throw (dtn::net::DiscoveryServiceProvider::NoServiceHereException) [virtual]

this method updates the given values

Implements dtn::net::DiscoveryServiceProvider.

Definition at line 62 of file LOWPANConvergenceLayer.cpp.


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