• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

ibrdtn/ibrdtn/api/StringBundle.h

Go to the documentation of this file.
00001 /*
00002  * StringBundle.h
00003  *
00004  *  Created on: 24.07.2009
00005  *      Author: morgenro
00006  */
00007 
00008 #ifndef STRINGBUNDLE_H_
00009 #define STRINGBUNDLE_H_
00010 
00011 #include "ibrdtn/api/Bundle.h"
00012 #include "ibrdtn/data/PayloadBlock.h"
00013 #include <iostream>
00014 
00015 namespace dtn
00016 {
00017         namespace api
00018         {
00023                 class StringBundle : public Bundle
00024                 {
00025                 public:
00029                         StringBundle(dtn::data::EID destination);
00030 
00034                         virtual ~StringBundle();
00035 
00039                         void append(string data);
00040 
00041                 private:
00042                         dtn::data::PayloadBlock &_payload;
00043                 };
00044         }
00045 }
00046 
00047 #endif /* STRINGBUNDLE_H_ */

Generated on Thu Nov 11 2010 09:49:47 for IBR-DTNSuite by  doxygen 1.7.1