24 #ifndef SQLITEBUNDLESET_H_
25 #define SQLITEBUNDLESET_H_
91 virtual void clear() throw ();
93 virtual
bool has(const dtn::data::BundleID &bundle) const throw ();
100 virtual dtn::data::
Size size() const throw();
109 std::set<dtn::data::MetaBundle>
getNotIn(const ibrcommon::BloomFilter &filter) const throw();
111 virtual std::ostream &
serialize(std::ostream &stream) const;
112 virtual std::istream &
deserialize(std::istream &stream);
115 void get_bundleid(
SQLiteDatabase::Statement &st, dtn::data::BundleID &
id,
int offset = 0) const throw (
SQLiteDatabase::SQLiteQueryException);
120 const
size_t _set_id;
123 dtn::data::
Length _bf_size;
126 ibrcommon::BloomFilter _bf;
129 dtn::data::BundleSet::Listener *_listener;
138 void new_expire_time(const dtn::data::
Timestamp &ttl) throw();
140 void rebuild_bloom_filter();
142 const
bool _persistent;