AODVLink Class Reference
[libdtnaodv]

Dummy class to mimic a point-to-point link based on an AODV routing table entry. More...

#include <dtnaodv/AODVLink.h>

Inheritance diagram for AODVLink:

Inheritance graph
[legend]
Collaboration diagram for AODVLink:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 AODVLink (aodv_table_entry_t *r, DTN::Link *l)
 Constructor.
virtual ~AODVLink ()
 Virtual destructor. Does nothing, since we own no memory.
void send (DTN::Bundle *b)
 Process a Bundle, passing it through to the other end of the link.
const DTN::ByteString & remoteAddr () const
 
Returns:
the address of the other end of the link


Detailed Description

Dummy class to mimic a point-to-point link based on an AODV routing table entry.

Definition at line 45 of file AODVLink.h.


Constructor & Destructor Documentation

AODVLink::AODVLink ( aodv_table_entry_t r,
DTN::Link l 
)

Constructor.

Parameters:
r A routing table entry
l The actual link that will transmit the data

Definition at line 37 of file AODVLink.cc.

References aodv_addr::data, aodv_addr::length, and aodv_table_entry::next_hop.


Member Function Documentation

void AODVLink::send ( DTN::Bundle b  )  [virtual]

Process a Bundle, passing it through to the other end of the link.

Parameters:
b The data to forward; passing ownership

Implements DTN::Link.

Definition at line 47 of file AODVLink.cc.

References DTN::Link::send().


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:47 2008 for Pydtn Simulator by  doxygen 1.5.4