dtn::core::AbstractWorker Class Reference

#include <AbstractWorker.h>

Inheritance diagram for dtn::core::AbstractWorker:

ibrcommon::Mutex dtn::daemon::Debugger dtn::daemon::DevNull dtn::daemon::EchoWorker

List of all members.

Public Member Functions

 AbstractWorker ()
virtual ~AbstractWorker ()
virtual const EID getWorkerURI () const
virtual void callbackBundleReceived (const Bundle &b)=0

Protected Member Functions

void initialize (const string uri, bool async=false)
void transmit (const Bundle &bundle)
void shutdown ()

Protected Attributes

EID _eid

Classes

class  AbstractWorkerAsync


Detailed Description

Definition at line 21 of file AbstractWorker.h.


Constructor & Destructor Documentation

dtn::core::AbstractWorker::AbstractWorker (  ) 

Definition at line 91 of file AbstractWorker.cpp.

dtn::core::AbstractWorker::~AbstractWorker (  )  [virtual]

Definition at line 101 of file AbstractWorker.cpp.

References shutdown().


Member Function Documentation

const EID dtn::core::AbstractWorker::getWorkerURI (  )  const [virtual]

Definition at line 112 of file AbstractWorker.cpp.

References _eid.

Referenced by dtn::daemon::EchoWorker::callbackBundleReceived().

virtual void dtn::core::AbstractWorker::callbackBundleReceived ( const Bundle b  )  [pure virtual]

void dtn::core::AbstractWorker::initialize ( const string  uri,
bool  async = false 
) [protected]

void dtn::core::AbstractWorker::transmit ( const Bundle bundle  )  [protected]

void dtn::core::AbstractWorker::shutdown (  )  [protected]

Definition at line 106 of file AbstractWorker.cpp.

Referenced by ~AbstractWorker().


Member Data Documentation

Definition at line 57 of file AbstractWorker.h.

Referenced by getWorkerURI(), and initialize().


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

Generated on Fri Jul 30 09:15:33 2010 for IBR-DTNSuite by  doxygen 1.5.6