dtn::RouteEntryVec Class Reference

#include <RouteEntry.h>

List of all members.


Detailed Description

Class for a vector of route entries.

Used for the route table itself and for what is returned in get_matching().

Definition at line 128 of file RouteEntry.h.


Public Member Functions

void sort_by_priority ()
 Sort the entries in the vector in descending priority order, i.e.

Member Function Documentation

void dtn::RouteEntryVec::sort_by_priority (  ) 

Sort the entries in the vector in descending priority order, i.e.

the highest priority first. In case of a tie, select the link with fewer bytes in flight.

Definition at line 193 of file RouteEntry.cc.

References end.

Referenced by dtn::TableBasedRouter::fwd_to_matching().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:36:23 2007 for DTN Reference Implementation by  doxygen 1.5.3