Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef DEVNULL_H_
00009 #define DEVNULL_H_
00010
00011 #include "core/AbstractWorker.h"
00012
00013 using namespace dtn::data;
00014 using namespace dtn::core;
00015
00016 namespace dtn
00017 {
00018 namespace daemon
00019 {
00020 class DevNull : public AbstractWorker
00021 {
00022 public:
00023 DevNull()
00024 {
00025 AbstractWorker::initialize("/null", 0, true);
00026 };
00027 virtual ~DevNull() {};
00028
00029 void callbackBundleReceived(const Bundle &b);
00030 };
00031 }
00032 }
00033
00034 #endif