IBR-DTNSuite
0.12
|
#include <BundleSeeker.h>
Public Types | |
typedef std::set< dtn::data::EID > | eid_set |
Public Member Functions | |
virtual | ~BundleSeeker () |
virtual void | get (const BundleSelector &cb, BundleResult &result)=0 throw (NoBundleFoundException, BundleSelectorException) |
virtual const eid_set | getDistinctDestinations ()=0 |
Definition at line 22 of file BundleSeeker.h.
typedef std::set<dtn::data::EID> dtn::storage::BundleSeeker::eid_set |
Return a set of distinct destinations for all bundles in the storage.
Definition at line 39 of file BundleSeeker.h.
|
inlinevirtual |
Definition at line 25 of file BundleSeeker.h.
|
pure virtual |
Query the database for a number of bundles. The bundles are selected with the BundleSeeker class which is to implement by the user of this method.
cb | The instance of the BundleSelector class. |
Implemented in dtn::storage::SQLiteDatabase, dtn::storage::SQLiteBundleStorage, dtn::storage::SimpleBundleStorage, dtn::storage::BundleStorage, dtn::storage::MemoryBundleStorage, and dtn::routing::SchedulingBundleIndex.
Referenced by dtn::api::Registration::underflow().
|
pure virtual |