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.

Classes

class  AbstractWorkerAsync

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

Detailed Description

Definition at line 21 of file AbstractWorker.h.


Constructor & Destructor Documentation

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

Definition at line 92 of file AbstractWorker.cpp.

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

Definition at line 102 of file AbstractWorker.cpp.

References shutdown().


Member Function Documentation

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

Definition at line 113 of file AbstractWorker.cpp.

References _eid.

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

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

Definition at line 107 of file AbstractWorker.cpp.

Referenced by ~AbstractWorker().

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

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 Mon Aug 23 08:12:57 2010 for IBR-DTNSuite by  doxygen 1.6.3