dtn::AlwaysOnLink Class Reference

#include <AlwaysOnLink.h>

Inheritance diagram for dtn::AlwaysOnLink:

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

Detailed Description

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.

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.


Constructor & Destructor Documentation

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

Definition at line 23 of file AlwaysOnLink.cc.

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


Member Function Documentation

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 31 of file AlwaysOnLink.cc.

References dtn::Link::OPEN, dtn::BundleDaemon::post(), and dtn::ContactEvent::USER.


The documentation for this class was generated from the following files:
Generated on Thu Jun 7 12:54:33 2007 for DTN Reference Implementation by  doxygen 1.5.1