prophet::FwdDeciderGTMX Class Reference

Forward the bundle only if P(B,D) > P(A,D) (same as GRTR) and if the bundle has been forwarded (NF) less than max times (NF_Max). More...

#include <Decider.h>

Inheritance diagram for prophet::FwdDeciderGTMX:
prophet::FwdDeciderGRTR prophet::Decider

List of all members.

Public Member Functions

virtual ~FwdDeciderGTMX ()
 Destructor.
bool operator() (const Bundle *) const
 Virtual from Decider.

u_int max_forward () const
 Accessors.

Protected Member Functions

 FwdDeciderGTMX (FwdStrategy::fwd_strategy_t fs, const Link *nexthop, BundleCore *core, const Table *local, const Table *remote, u_int max_fwd, bool relay)
 Constructor.

Protected Attributes

u_int max_fwd_
 local configuration setting for NF_max

Friends

class Decider

Detailed Description

Forward the bundle only if P(B,D) > P(A,D) (same as GRTR) and if the bundle has been forwarded (NF) less than max times (NF_Max).

Definition at line 127 of file Decider.h.


Constructor & Destructor Documentation

virtual prophet::FwdDeciderGTMX::~FwdDeciderGTMX (  )  [inline, virtual]

Destructor.

Definition at line 133 of file Decider.h.

prophet::FwdDeciderGTMX::FwdDeciderGTMX ( FwdStrategy::fwd_strategy_t  fs,
const Link nexthop,
BundleCore core,
const Table local,
const Table remote,
u_int  max_fwd,
bool  relay 
) [protected]

Constructor.

Protected to force entry via factory method.

Definition at line 76 of file Decider.cc.


Member Function Documentation

u_int prophet::FwdDeciderGTMX::max_forward (  )  const [inline]

Accessors.

Definition at line 141 of file Decider.h.

References max_fwd_.

bool prophet::FwdDeciderGTMX::operator() ( const Bundle b  )  const [virtual]

Friends And Related Function Documentation

friend class Decider [friend]

Reimplemented from prophet::FwdDeciderGRTR.

Definition at line 144 of file Decider.h.


Member Data Documentation

local configuration setting for NF_max

Definition at line 154 of file Decider.h.

Referenced by max_forward(), and operator()().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 11:41:15 2010 for DTN Reference Implementation by  doxygen 1.6.3