IBR-DTNSuite  0.8
daemon/src/DevNull.h
Go to the documentation of this file.
00001 /*
00002  * DevNull.h
00003  *
00004  *  Created on: 27.01.2010
00005  *      Author: morgenro
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 /* DEVNULL_H_ */