IBR-DTN  1.0.0
dtn::daemon::EchoWorker Class Reference

#include <EchoWorker.h>

Inheritance diagram for dtn::daemon::EchoWorker:
Inheritance graph
Collaboration diagram for dtn::daemon::EchoWorker:
Collaboration graph

Public Member Functions

 EchoWorker ()
 
virtual ~EchoWorker ()
 
void callbackBundleReceived (const Bundle &b)
 
- Public Member Functions inherited from dtn::core::AbstractWorker
 AbstractWorker ()
 
virtual ~AbstractWorker ()
 
virtual const EID getWorkerURI () const
 

Additional Inherited Members

- Protected Member Functions inherited from dtn::core::AbstractWorker
void initialize (const std::string &uri)
 
void transmit (dtn::data::Bundle &bundle)
 
void shutdown ()
 
void subscribe (const dtn::data::EID &endpoint)
 
void unsubscribe (const dtn::data::EID &endpoint)
 
- Protected Attributes inherited from dtn::core::AbstractWorker
dtn::data::EID _eid
 

Detailed Description

This is a implementation of AbstractWorker and is comparable with a application. This application can send/receive bundles and implements a basic echo funcionality. If a bundle is received the payload of the bundle is copied and returned to the sender.

The application suffix to the node eid is /echo.

Definition at line 41 of file EchoWorker.h.

Constructor & Destructor Documentation

dtn::daemon::EchoWorker::EchoWorker ( )

Definition at line 35 of file EchoWorker.cpp.

References dtn::core::AbstractWorker::initialize().

Here is the call graph for this function:

virtual dtn::daemon::EchoWorker::~EchoWorker ( )
inlinevirtual

Definition at line 45 of file EchoWorker.h.

Member Function Documentation


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