|
IBR-DTN
1.0.0
|
#include <BundleSelector.h>

Public Member Functions | |
| virtual | ~BundleSelector () |
| virtual dtn::data::Size | limit () const throw () |
| virtual bool | shouldAdd (const dtn::data::MetaBundle &) const throw (BundleSelectorException) |
| virtual bool | addIfSelected (BundleResult &result, const dtn::data::MetaBundle &bundle) const throw (BundleSelectorException) |
Definition at line 37 of file BundleSelector.h.
|
inlinevirtual |
Definition at line 40 of file BundleSelector.h.
|
inlinevirtual | ||||||||||||||||||||
This method is called by the storage to add a bundle to the result if it has been selected by the shouldAdd method
Definition at line 60 of file BundleSelector.h.
References shouldAdd().

|
inlinevirtual | |||||||||||||
Limit the number of selected items.
Definition at line 46 of file BundleSelector.h.
|
inlinevirtual | ||||||||||||||
This method is called by addIfSelected() to determine if one bundle should added to a set or not.
| id | The bundle id of the bundle to select. |
Definition at line 54 of file BundleSelector.h.
Referenced by addIfSelected().