dtn::LinkStateRouter::LSRegistration Class Reference

#include <LinkStateRouter.h>

Inheritance diagram for dtn::LinkStateRouter::LSRegistration:

dtn::Registration oasys::SerializableObject oasys::Logger List of all members.

Detailed Description

Definition at line 85 of file LinkStateRouter.h.

Public Member Functions

 LSRegistration (LinkStateRouter *router)
void deliver_bundle (Bundle *bundle)
 Deliver the given bundle, queueing it if required.

Public Attributes

LinkStateRouterrouter_


Constructor & Destructor Documentation

dtn::LinkStateRouter::LSRegistration::LSRegistration ( LinkStateRouter router  ) 

Definition at line 253 of file LinkStateRouter.cc.

References dtn::EVENTSRC_ADMIN, oasys::Logger::logpathf(), dtn::BundleDaemon::post(), and router_.


Member Function Documentation

void dtn::LinkStateRouter::LSRegistration::deliver_bundle ( Bundle bundle  )  [virtual]

Deliver the given bundle, queueing it if required.

Implements dtn::Registration.

Definition at line 266 of file LinkStateRouter.cc.

References dtn::LinkStateGraph::addEdge(), dtn::LinkStateRouter::LinkStateAnnouncement::cost, dtn::LinkStateRouter::flood_announcement(), dtn::LinkStateRouter::LinkStateAnnouncement::from, dtn::LinkStateGraph::getVertex(), dtn::LinkStateRouter::graph(), dtn::BundlePayload::length(), dtn::LinkStateRouter::LinkStateAnnouncement::LINK_DOWN, log_debug, log_err, log_info, log_warn, dtn::LinkStateRouter::LS_ANNOUNCEMENT, dtn::LinkStateGraph::Vertex::outgoing_edges_, dtn::Bundle::payload_, payload_buf, dtn::BundleDaemon::post(), dtn::BundlePayload::read_data(), dtn::LinkStateGraph::removeEdge(), router_, and dtn::LinkStateRouter::LinkStateAnnouncement::to.


Member Data Documentation

LinkStateRouter* dtn::LinkStateRouter::LSRegistration::router_

Definition at line 89 of file LinkStateRouter.h.

Referenced by deliver_bundle(), and LSRegistration().


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