Abstraction for an always on link. More...
#include <AlwaysOnLink.h>
Public Member Functions | |
| AlwaysOnLink (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. | |
Abstraction for an always on link.
ALWAYSON links are immediately opened upon creation and remain open for their duration.
Definition at line 31 of file AlwaysOnLink.h.
| dtn::AlwaysOnLink::AlwaysOnLink | ( | std::string | name, | |
| ConvergenceLayer * | cl, | |||
| const char * | nexthop | |||
| ) |
Definition at line 24 of file AlwaysOnLink.cc.
| void dtn::AlwaysOnLink::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 32 of file AlwaysOnLink.cc.
References dtn::Link::OPEN, dtn::BundleDaemon::post_at_head(), and dtn::ContactEvent::USER.
1.6.3