dtn::OndemandLink Class Reference

Abstraction for a ONDEMAND link. More...

#include <OndemandLink.h>

Inheritance diagram for dtn::OndemandLink:
dtn::Link

List of all members.

Public Member Functions

 OndemandLink (std::string name, ConvergenceLayer *cl, const char *nexthop)
void set_initial_state ()
 Hook for subclass to post events to control the initial link state, after all initialization is complete.

Detailed Description

Abstraction for a ONDEMAND link.

ONDEMAND links have to be opened everytime one wants to use it and close after an idle period.

Definition at line 30 of file OndemandLink.h.


Constructor & Destructor Documentation

dtn::OndemandLink::OndemandLink ( std::string  name,
ConvergenceLayer cl,
const char *  nexthop 
)

Member Function Documentation

void dtn::OndemandLink::set_initial_state (  )  [virtual]

Hook for subclass to post events to control the initial link state, after all initialization is complete.

Reimplemented from dtn::Link.

Definition at line 40 of file OndemandLink.cc.

References dtn::ContactEvent::NO_INFO, and dtn::BundleDaemon::post().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:15 2010 for DTN Reference Implementation by  doxygen 1.6.3