IBR-DTNSuite
0.12
Main Page
Namespaces
Classes
Files
File List
File Members
BundleSeeker.h
Go to the documentation of this file.
1
/*
2
* BundleQueryInterface.h
3
*
4
* Created on: 21.01.2013
5
* Author: morgenro
6
*/
7
8
#ifndef BUNDLESEEKER_H_
9
#define BUNDLESEEKER_H_
10
11
#include "
storage/BundleSelector.h
"
12
#include "
storage/BundleResult.h
"
13
#include <
ibrdtn/data/EID.h
>
14
#include <
ibrdtn/data/MetaBundle.h
>
15
#include <
ibrcommon/Exceptions.h
>
16
#include <set>
17
18
namespace
dtn
19
{
20
namespace
storage
21
{
22
class
BundleSeeker
23
{
24
public
:
25
virtual
~BundleSeeker
() { };
26
33
virtual
void
get
(
const
BundleSelector
&cb,
BundleResult
&result)
throw
(
NoBundleFoundException
,
BundleSelectorException
) = 0;
34
39
typedef
std::set<dtn::data::EID>
eid_set
;
40
virtual
const
eid_set
getDistinctDestinations
() = 0;
41
};
42
}
43
}
44
45
46
#endif
/* BUNDLESEEKER_H_ */
daemon
src
storage
BundleSeeker.h
Generated on Thu Mar 27 2014 09:26:20 for IBR-DTNSuite by
1.8.4