IBR-DTNSuite  0.8
daemon/src/net/BundleReceiver.h
Go to the documentation of this file.
00001 #ifndef BUNDLERECEIVER_H_
00002 #define BUNDLERECEIVER_H_
00003 
00004 #include "ibrdtn/data/Bundle.h"
00005 #include "net/ConvergenceLayer.h"
00006 
00007 using namespace dtn::data;
00008 
00009 namespace dtn
00010 {
00011         namespace net
00012         {
00013                 class BundleReceiver
00014                 {
00015                         public:
00016                         BundleReceiver() {};
00017                         virtual ~BundleReceiver() {};
00018                         virtual void received(const dtn::data::EID &eid, const Bundle &b) = 0;
00019                 };
00020         }
00021 }
00022 
00023 #endif /*BUNDLERECEIVER_H_*/