dtn::daemon::TestApplication Class Reference

#include <TestApplication.h>

Inheritance diagram for dtn::daemon::TestApplication:

dtn::core::AbstractWorker dtn::utils::Service

List of all members.

Public Member Functions

 TestApplication (string destination)
 ~TestApplication ()
void tick ()
TransmitReport callbackBundleReceived (const Bundle &b)

Private Member Functions

void reportIt ()

Private Attributes

unsigned int m_dtntime
string m_destination


Detailed Description

This is a implementation of AbstractWorker and is comparable with a application. This application can send/receive bundles and send every 5 seconds a bundle for testing purpose.

The application suffix to the node eid is /test.


Constructor & Destructor Documentation

dtn::daemon::TestApplication::TestApplication ( string  destination  )  [inline]

dtn::daemon::TestApplication::~TestApplication (  )  [inline]


Member Function Documentation

void dtn::daemon::TestApplication::tick (  )  [virtual]

overload this method to do your own stuff.

Implements dtn::utils::Service.

References m_dtntime, and reportIt().

TransmitReport dtn::daemon::TestApplication::callbackBundleReceived ( const Bundle b  )  [virtual]

void dtn::daemon::TestApplication::reportIt (  )  [private]


Member Data Documentation

Referenced by tick().

Referenced by reportIt().


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

Generated on Wed Mar 25 12:41:41 2009 for IBR-DTN by  doxygen 1.5.6