#include <ProphetLists.h>

Definition at line 812 of file ProphetLists.h.
Public Member Functions | |
| virtual | ~ProphetDecider () |
| virtual bool | operator() (const Bundle *) const =0 |
| bool | should_fwd (const Bundle *bundle) const |
Static Public Member Functions | |
| static ProphetDecider * | decider (Prophet::fwd_strategy_t fs, ProphetTable *local=NULL, ProphetTable *remote=NULL, Link *nexthop=NULL, u_int max_forward=0, ProphetStats *stats=NULL) |
| Factory method for creating decider instance. | |
Protected Member Functions | |
| ProphetDecider (Link *nexthop) | |
Protected Attributes | |
| Link * | next_hop_ |
| EndpointIDPattern | route_ |
| virtual dtn::ProphetDecider::~ProphetDecider | ( | ) | [inline, virtual] |
Definition at line 823 of file ProphetLists.h.
| dtn::ProphetDecider::ProphetDecider | ( | Link * | nexthop | ) | [inline, protected] |
Definition at line 827 of file ProphetLists.h.
| ProphetDecider * dtn::ProphetDecider::decider | ( | Prophet::fwd_strategy_t | fs, | |
| ProphetTable * | local = NULL, |
|||
| ProphetTable * | remote = NULL, |
|||
| Link * | nexthop = NULL, |
|||
| u_int | max_forward = 0, |
|||
| ProphetStats * | stats = NULL | |||
| ) | [inline, static] |
Factory method for creating decider instance.
Definition at line 971 of file ProphetLists.h.
References dtn::Prophet::GRTR, dtn::Prophet::GRTR_MAX, dtn::Prophet::GRTR_PLUS, dtn::Prophet::GRTR_SORT, dtn::Prophet::GTMX, and dtn::Prophet::GTMX_PLUS.
Referenced by dtn::ProphetEncounter::send_bundle_offer().
Implemented in dtn::FwdDeciderGRTR, dtn::FwdDeciderGTMX, dtn::FwdDeciderGRTRPLUS, and dtn::FwdDeciderGTMXPLUS.
Definition at line 1003 of file ProphetLists.h.
References ASSERT, dtn::Bundle::bundleid_, dtn::Bundle::fwdlog_, dtn::ForwardingLog::get_latest_entry(), dtn::ForwardingInfo::IN_FLIGHT, info, log_debug, dtn::Link::name(), next_hop_, dtn::ForwardingInfo::NONE, dtn::ForwardingInfo::state_, dtn::ForwardingInfo::state_to_str(), dtn::ForwardingInfo::TRANSMIT_FAILED, and dtn::ForwardingInfo::TRANSMITTED.
Link* dtn::ProphetDecider::next_hop_ [protected] |
EndpointIDPattern dtn::ProphetDecider::route_ [protected] |
Definition at line 834 of file ProphetLists.h.
1.5.3