Epidemic::EpidemicCustody Class Reference
[pydtn.mobility.epidemic]

Custody policy class for epidemic forwarding. More...

#include <epidemic/EpidemicCustody.h>

Inheritance diagram for Epidemic::EpidemicCustody:

Inheritance graph
[legend]
Collaboration diagram for Epidemic::EpidemicCustody:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 EpidemicCustody (DTN::Node *owner)
 Constructor.
virtual ~EpidemicCustody ()
 Virtual destructor.
virtual bool policyRemove (const DTN::Bundle &b)
 Never approve bundle removals.


Detailed Description

Custody policy class for epidemic forwarding.

The only difference between this and its parent is that we never approve removing DTN:Bundles from the persistent store.

Definition at line 48 of file EpidemicCustody.h.


Member Function Documentation

virtual bool Epidemic::EpidemicCustody::policyRemove ( const DTN::Bundle b  )  [inline, virtual]

Never approve bundle removals.

Parameters:
b A bundle to potentially remove; ignored
Returns:
false

Reimplemented from DTN::CustodyPolicy.

Definition at line 59 of file EpidemicCustody.h.


The documentation for this class was generated from the following file:
Generated on Mon Mar 24 11:15:48 2008 for Pydtn Simulator by  doxygen 1.5.4