dtn::BundleRouter::Config Struct Reference

#include <BundleRouter.h>

List of all members.


Detailed Description

Config variables.

These must be static since they're set by the config parser before any router objects are created.

Definition at line 72 of file BundleRouter.h.


Public Member Functions

 Config ()

Public Attributes

std::string type_
 The routing algorithm type.
bool add_nexthop_routes_
 Whether or not to add routes for nexthop links that know the remote endpoint id (default true).
bool open_discovered_links_
 Whether or not to open discovered opportunistic links when they become available (default true).
int default_priority_
 Default priority for new routes.
int max_route_to_chain_
 Maximum number of route_to entries to follow for a lookup (default 10).
u_int64_t storage_quota_
 Storage quota for bundle payloads (default unlimited).
u_int subscription_timeout_
 Timeout for upstream session subscriptions in seconds (default is ten minutes).

Constructor & Destructor Documentation

dtn::BundleRouter::Config::Config (  ) 

Definition at line 39 of file BundleRouter.cc.


Member Data Documentation

The routing algorithm type.

Definition at line 76 of file BundleRouter.h.

Whether or not to add routes for nexthop links that know the remote endpoint id (default true).

Definition at line 80 of file BundleRouter.h.

Referenced by dtn::TableBasedRouter::add_nexthop_route(), dtn::DTLSRRouter::DTLSRRouter(), and dtn::FloodBundleRouter::initialize().

Whether or not to open discovered opportunistic links when they become available (default true).

Definition at line 84 of file BundleRouter.h.

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

Default priority for new routes.

Definition at line 87 of file BundleRouter.h.

Maximum number of route_to entries to follow for a lookup (default 10).

Definition at line 91 of file BundleRouter.h.

Storage quota for bundle payloads (default unlimited).

Definition at line 94 of file BundleRouter.h.

Timeout for upstream session subscriptions in seconds (default is ten minutes).

Definition at line 98 of file BundleRouter.h.

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


The documentation for this struct was generated from the following files:

Generated on Mon Jul 21 14:12:21 2008 for DTN Reference Implementation by  doxygen 1.5.6