00001 #ifndef STATICBUNDLEROUTER_H_ 00002 #define STATICBUNDLEROUTER_H_ 00003 00004 #include "core/BundleRouter.h" 00005 #include "core/StaticRoute.h" 00006 #include <list> 00007 00008 namespace dtn 00009 { 00010 namespace core 00011 { 00012 class StaticBundleRouter : public BundleRouter 00013 { 00014 public: 00015 StaticBundleRouter(list<StaticRoute> routes, string eid); 00016 ~StaticBundleRouter(); 00017 00018 BundleSchedule getSchedule(const Bundle &b); 00019 00020 private: 00021 string m_eid; 00022 list<StaticRoute> m_routes; 00023 }; 00024 } 00025 } 00026 00027 #endif /*STATICBUNDLEROUTER_H_*/
1.5.6