IBR-DTNSuite  0.8
dtn::api::StringBundle Class Reference

#include <StringBundle.h>

Inheritance diagram for dtn::api::StringBundle:
Collaboration diagram for dtn::api::StringBundle:

List of all members.

Public Member Functions

 StringBundle (const dtn::data::EID &destination)
virtual ~StringBundle ()
void append (const std::string &data)

Detailed Description

This class could be used to send small string data (all have to fit into the system RAM) through the bundle protocol.

Definition at line 22 of file StringBundle.h.


Constructor & Destructor Documentation

Constructor of the StringBundle object. It just needs a destination as parameter.

Parameters:
destinationThe desired destination of the bundle.

Definition at line 15 of file StringBundle.cpp.

References dtn::api::Bundle::_b, and dtn::data::Bundle::push_back().

Here is the call graph for this function:

Destricutor of the StringBundle object.

Definition at line 21 of file StringBundle.cpp.


Member Function Documentation

void dtn::api::StringBundle::append ( const std::string &  data)

Append a string to the payload.

Definition at line 24 of file StringBundle.cpp.

References ibrcommon::BLOB::Reference::iostream().

Here is the call graph for this function:


The documentation for this class was generated from the following files: