UniformBundleMaker Class Reference
[pydtn]

Create Bundles of a fixed size. More...

#include <pydtn/UniformBundleMaker.h>

Inheritance diagram for UniformBundleMaker:

Inheritance graph
[legend]
Collaboration diagram for UniformBundleMaker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UniformBundleMaker (WrapNode *source, WrapNode *destination, const DTN::ByteString &app, unsigned int size)
 Constructor.
virtual ~UniformBundleMaker ()
 Virtual destructor.
void generate ()
 Generate a Bundle.


Detailed Description

Create Bundles of a fixed size.

The bundles created are MockBundles, and are forwarded by direct call to the source WrapNode. All Bundles have the same configured application identifier.

Definition at line 48 of file UniformBundleMaker.h.


Constructor & Destructor Documentation

UniformBundleMaker::UniformBundleMaker ( WrapNode source,
WrapNode destination,
const DTN::ByteString &  app,
unsigned int  size 
)

Constructor.

Parameters:
source The node that will send the bundles
destination The node to which the bundles will be sent
app The application identifier to use in bundles
size The payload size for the bundles

Definition at line 40 of file UniformBundleMaker.cc.


The documentation for this class was generated from the following files:
Generated on Mon Mar 24 11:15:48 2008 for Pydtn Simulator by  doxygen 1.5.4