#include <LinkStateRouter.h>
Inheritance diagram for dtn::LinkStateRouter::LSRegistration:
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 | |
LinkStateRouter * | router_ |
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_.
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.
Definition at line 89 of file LinkStateRouter.h.
Referenced by deliver_bundle(), and LSRegistration().