IBR-DTN
1.0.0
|
#include <LOWPANConnection.h>
Public Member Functions | |
LOWPANConnection (const ibrcommon::vaddress &_address, LOWPANConvergenceLayer &cl) | |
virtual | ~LOWPANConnection () |
ibrcommon::lowpanstream & | getStream () |
void | run () throw () |
void | setup () throw () |
void | finally () throw () |
void | __cancellation () throw () |
Public Attributes | |
const ibrcommon::vaddress | _address |
LOWPANConnectionSender | _sender |
Definition at line 56 of file LOWPANConnection.h.
dtn::net::LOWPANConnection::LOWPANConnection | ( | const ibrcommon::vaddress & | _address, |
LOWPANConvergenceLayer & | cl | ||
) |
LOWPANConnection constructor
_address | IEEE 802.15.4 short address to identfy the connection |
LOWPANConvergenceLayer | reference |
Definition at line 47 of file LOWPANConnection.cpp.
|
virtual |
Definition at line 52 of file LOWPANConnection.cpp.
void dtn::net::LOWPANConnection::__cancellation | ( | ) | ||
throw | ( | |||
) |
Definition at line 115 of file LOWPANConnection.cpp.
References _sender.
void dtn::net::LOWPANConnection::finally | ( | ) | ||
throw | ( | |||
) |
Definition at line 66 of file LOWPANConnection.cpp.
References _sender, and dtn::net::LOWPANConvergenceLayer::remove().
ibrcommon::lowpanstream & dtn::net::LOWPANConnection::getStream | ( | ) |
Getting the lowpanstream connected with the LOWPANConnection
Definition at line 56 of file LOWPANConnection.cpp.
Referenced by dtn::net::LOWPANConvergenceLayer::componentRun().
void dtn::net::LOWPANConnection::run | ( | void | ) | ||
throw | ( | ||||
) |
Definition at line 75 of file LOWPANConnection.cpp.
References _address, dtn::core::BundleCore::filter(), dtn::net::LOWPANConvergenceLayer::getDiscoveryProtocol(), dtn::core::BundleCore::getInstance(), dtn::core::BundleFilter::INPUT, dtn::net::BundleReceivedEvent::raise(), dtn::core::FilterContext::setBundle(), dtn::core::FilterContext::setPeer(), and dtn::core::FilterContext::setProtocol().
void dtn::net::LOWPANConnection::setup | ( | ) | ||
throw | ( | |||
) |
Definition at line 61 of file LOWPANConnection.cpp.
References _sender.
const ibrcommon::vaddress dtn::net::LOWPANConnection::_address |
IEEE 802.15.4 short address of the node this connection handles data for.
Definition at line 71 of file LOWPANConnection.h.
Referenced by run().
LOWPANConnectionSender dtn::net::LOWPANConnection::_sender |
Instance of the LOWPANConnectionSender
Definition at line 87 of file LOWPANConnection.h.
Referenced by __cancellation(), finally(), dtn::net::LOWPANConvergenceLayer::queue(), and setup().