IBR-DTNSuite  0.10
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  {
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  };
27  }
28 }
29 
30 #endif /* STATICROUTE_H_ */