dtn::OndemandLink Class Reference

#include <OndemandLink.h>

Inheritance diagram for dtn::OndemandLink:

dtn::Link oasys::Formatter oasys::Logger oasys::SerializableObject List of all members.

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.

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.


Constructor & Destructor Documentation

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

Definition at line 24 of file OndemandLink.cc.

References dtn::Link::AVAILABLE, dtn::Link::params_, and dtn::Link::set_state().


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 37 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 Thu Jun 7 16:56:57 2007 for DTN Reference Implementation by  doxygen 1.5.1