00001 /* 00002 * QueueBundle.h 00003 * 00004 * Created on: 15.02.2010 00005 * Author: morgenro 00006 */ 00007 00008 #ifndef QUEUEBUNDLEEVENT_H_ 00009 #define QUEUEBUNDLEEVENT_H_ 00010 00011 #include "core/Event.h" 00012 #include "ibrdtn/data/Bundle.h" 00013 #include "ibrdtn/data/MetaBundle.h" 00014 #include "ibrdtn/data/EID.h" 00015 00016 namespace dtn 00017 { 00018 namespace routing 00019 { 00020 class QueueBundleEvent : public dtn::core::Event 00021 { 00022 public: 00023 virtual ~QueueBundleEvent(); 00024 00025 const string getName() const; 00026 00027 string toString() const; 00028 00029 static const string className; 00030 00031 static void raise(const dtn::data::Bundle &bundle); 00032 dtn::data::MetaBundle bundle; 00033 00034 private: 00035 QueueBundleEvent(const dtn::data::Bundle &bundle); 00036 }; 00037 } 00038 } 00039 00040 #endif /* QUEUEBUNDLEEVENT_H_ */
1.6.3