#include <ProphetRouter.h>
Inheritance diagram for dtn::ProphetRouter:

Definition at line 9 of file ProphetRouter.h.
Public Member Functions | |
| ProphetRouter () | |
| void | handle_link_created (LinkCreatedEvent *event) |
| If a link gets created with a remote eid, add the route. | |
| void | handle_contact_down (ContactDownEvent *event) |
| Default event handler when a contact is down. | |
| dtn::ProphetRouter::ProphetRouter | ( | ) |
| void dtn::ProphetRouter::handle_link_created | ( | LinkCreatedEvent * | event | ) | [virtual] |
If a link gets created with a remote eid, add the route.
Reimplemented from dtn::TableBasedRouter.
Definition at line 24 of file ProphetRouter.cc.
References ASSERT, dtn::EndpointID::equals(), dtn::TableBasedRouter::handle_link_created(), dtn::LinkCreatedEvent::link_, dtn::EndpointID::NULL_EID(), and dtn::Link::remote_eid().
| void dtn::ProphetRouter::handle_contact_down | ( | ContactDownEvent * | event | ) | [virtual] |
Default event handler when a contact is down.
Reimplemented from dtn::BundleEventHandler.
Definition at line 31 of file ProphetRouter.cc.
References dtn::ContactDownEvent::contact_, dtn::RouteTable::del_entries_for_nexthop(), dtn::BundleEventHandler::handle_contact_down(), and dtn::TableBasedRouter::route_table_.
1.5.1