00001 #ifndef STATICROUTE_H_ 00002 #define STATICROUTE_H_ 00003 00004 #include "data/Bundle.h" 00005 00006 namespace dtn 00007 { 00008 namespace core 00009 { 00010 class StaticRoute 00011 { 00012 public: 00013 StaticRoute(string route, string dest); 00014 ~StaticRoute(); 00015 00016 bool match(const dtn::data::Bundle &b); 00017 string getDestination(); 00018 00019 private: 00020 string m_route; 00021 string m_dest; 00022 string m_route1; 00023 string m_route2; 00024 00025 int m_matchmode; 00026 }; 00027 } 00028 } 00029 00030 #endif /*STATICROUTE_H_*/
1.5.6