IBR-DTNSuite
0.12
Main Page
Namespaces
Classes
Files
File List
File Members
StaticRoute.h
Go to the documentation of this file.
1
/*
2
* StaticRoute.h
3
*
4
* Created on: 28.11.2012
5
* Author: morgenro
6
*/
7
8
#ifndef STATICROUTE_H_
9
#define STATICROUTE_H_
10
11
#include <
ibrdtn/data/EID.h
>
12
#include <string>
13
14
namespace
dtn
15
{
16
namespace
routing
17
{
18
class
StaticRoute
19
{
20
public
:
21
virtual
~StaticRoute
() = 0;
22
virtual
bool
match
(
const
dtn::data::EID
&eid)
const
= 0;
23
virtual
const
dtn::data::EID
&
getDestination
()
const
= 0;
24
virtual
const
std::string
toString
()
const
= 0;
25
virtual
const
dtn::data::Timestamp
&
getExpiration
()
const
= 0;
26
30
virtual
void
raiseExpired
()
const
= 0;
31
35
virtual
bool
equals
(
const
StaticRoute
&route)
const
= 0;
36
};
37
}
38
}
39
40
#endif
/* STATICROUTE_H_ */
daemon
src
routing
StaticRoute.h
Generated on Thu Mar 27 2014 09:26:20 for IBR-DTNSuite by
1.8.4