24 _priority_index.insert(b);
29 for (priority_index::const_iterator iter = _priority_index.begin(); iter != _priority_index.end(); ++iter)
33 _priority_index.erase(iter);
41 bool unlimited = (cb.limit() <= 0);
44 for (priority_index::const_iterator iter = _priority_index.begin(); iter != _priority_index.end(); ++iter)
47 if (cb.shouldAdd(b)) {
52 if (!unlimited && (added >= cb.limit()))
break;
61 std::set<dtn::data::EID> ret;