|
IBR-DTNSuite
0.12
|
#include <BundleSetImpl.h>


Classes | |
| class | ExpiringBundle |
Public Member Functions | |
| virtual | ~BundleSetImpl ()=0 |
| virtual refcnt_ptr< BundleSetImpl > | copy () const =0 |
| virtual void | assign (const refcnt_ptr< BundleSetImpl > &)=0 |
| virtual void | add (const dtn::data::MetaBundle &bundle)=0 throw () |
| virtual void | clear ()=0 throw () |
| virtual bool | has (const dtn::data::BundleID &bundle) const =0 throw () |
| virtual void | expire (const Timestamp timestamp)=0 |
| virtual Size | size () const =0 throw () |
| virtual Length | getLength () const =0 throw () |
| virtual const ibrcommon::BloomFilter & | getBloomFilter () const =0 throw () |
| virtual std::set < dtn::data::MetaBundle > | getNotIn (const ibrcommon::BloomFilter &filter) const =0 throw () |
| virtual void | sync () throw () |
| virtual std::ostream & | serialize (std::ostream &stream) const =0 |
| virtual std::istream & | deserialize (std::istream &stream)=0 |
Definition at line 35 of file BundleSetImpl.h.
|
pure virtual |
| bf_size | Initial size fo the bloom-filter. |
Definition at line 32 of file BundleSetImpl.cpp.
|
pure virtual | ||||||||||||||
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual |
clears the bundle-set and copy all entries from the given one into this bundle-set
Implemented in dtn::data::MemoryBundleSet.
|
pure virtual | |||||||||||||
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual |
copies the current bundle-set into a new temporary one
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual |
Implemented in dtn::data::MemoryBundleSet, and dtn::storage::SQLiteBundleSet.
|
pure virtual |
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual | |||||||||||||
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual | |||||||||||||
Returns the data length of the serialized BundleSet
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual | ||||||||||||||
Implemented in dtn::data::MemoryBundleSet, and dtn::storage::SQLiteBundleSet.
|
pure virtual | ||||||||||||||
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
pure virtual |
Implemented in dtn::data::MemoryBundleSet, and dtn::storage::SQLiteBundleSet.
|
pure virtual | |||||||||||||
Returns the number of elements in this set
Implemented in dtn::storage::SQLiteBundleSet, and dtn::data::MemoryBundleSet.
|
inlinevirtual | |||||||||||||
Synchronize the bundle-set with the persistent set on the disk.
Reimplemented in dtn::data::MemoryBundleSet.
Definition at line 77 of file BundleSetImpl.h.