#include <OndemandLink.h>
Inheritance diagram for dtn::OndemandLink:
ONDEMAND links have to be opened everytime one wants to use it and close after an idle period.
Definition at line 51 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. |
dtn::OndemandLink::OndemandLink | ( | std::string | name, | |
ConvergenceLayer * | cl, | |||
const char * | nexthop | |||
) |
Definition at line 45 of file OndemandLink.cc.
References dtn::Link::AVAILABLE, dtn::Link::params_, and dtn::Link::set_state().
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 58 of file OndemandLink.cc.
References dtn::ContactEvent::NO_INFO, and dtn::BundleDaemon::post().