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 52 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 44 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 52 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 Fri Dec 22 14:48:04 2006 for DTN Reference Implementation by  doxygen 1.5.1