#include <dtn/RoutingTable.h>

Public Member Functions | |
| RoutingTable () | |
| Default constructor. | |
| virtual | ~RoutingTable () |
| Virtual destructor. | |
| virtual Link & | target (const Bundle &b) const =0 |
| Find the next hop for a Bundle. | |
This is a very simple structure that contains a list of Routes and a way to retrieve an appropriate Link for a given Bundle.
Definition at line 48 of file RoutingTable.h.
Find the next hop for a Bundle.
Subclasses must define this appropriately. Different types of routing tables will have different matching criteria.
| b | A bundle to be forwarded |
Implemented in DTN::ExplicitRoutingTable, and DTN::PrefixRoutingTable.
Referenced by DTN::RoutedForwarding::target().
1.5.4