#include <dtnaodv/AODVApp.h>


Public Member Functions | |
| AODVApp (AODVForwardingPolicy *pol) | |
| Constructor. | |
| virtual | ~AODVApp () |
| Virtual destructor. | |
| void | send (const aodv_msghdr_t *headers, const aodv_chunk_t *message) |
| Send data to an application on another node. | |
| void | notify () |
| Forwards to AODVForwardingPolicy::notify(). | |
Protected Member Functions | |
| const DTN::ByteString & | appID () const |
| |
| void | process (const DTN::Bundle &b) |
| Process application data. | |
Static Protected Member Functions | |
| static const DTN::ByteString & | id () |
| |
Definition at line 46 of file AODVApp.h.
| void AODVApp::send | ( | const aodv_msghdr_t * | headers, | |
| const aodv_chunk_t * | message | |||
| ) |
Send data to an application on another node.
| headers | The forwarding information | |
| message | The data payload |
Definition at line 60 of file AODVApp.cc.
References aodv_msghdr::addr, aodv_chunk::data, aodv_addr::data, dtnaodv_bcast_addr, DTN::Bundle::kBcast, DTN::Bundle::kData, DTN::Bundle::kNoACK, aodv_chunk::length, aodv_addr::length, DTN::Consumer::m_owner, aodv_chunk::next, and AODVForwardingPolicy::traversalTime().
| void AODVApp::process | ( | const DTN::Bundle & | b | ) | [protected, virtual] |
Process application data.
| b | The bundle containing the application data |
Implements DTN::Application.
Definition at line 107 of file AODVApp.cc.
References AODVForwardingPolicy::handleMessage(), and DTN::Consumer::m_owner.
1.5.4