IBR-DTNSuite  0.10
dtn::routing::EpidemicRoutingExtension Class Reference

#include <EpidemicRoutingExtension.h>

Inheritance diagram for dtn::routing::EpidemicRoutingExtension:
Inheritance graph
Collaboration diagram for dtn::routing::EpidemicRoutingExtension:
Collaboration graph

Public Member Functions

 EpidemicRoutingExtension ()
 
virtual ~EpidemicRoutingExtension ()
 
void notify (const dtn::core::Event *evt) throw ()
 
void componentUp () throw ()
 
void componentDown () throw ()
 
virtual void requestHandshake (const dtn::data::EID &, NodeHandshake &) const
 
- Public Member Functions inherited from dtn::routing::RoutingExtension
 RoutingExtension ()
 
virtual ~RoutingExtension ()=0
 
virtual void responseHandshake (const dtn::data::EID &, const NodeHandshake &, NodeHandshake &)
 
virtual void processHandshake (const dtn::data::EID &, NodeHandshake &)
 
void transferTo (const dtn::data::EID &destination, const dtn::data::MetaBundle &meta)
 
- Public Member Functions inherited from ibrcommon::JoinableThread
virtual ~JoinableThread ()=0
 
void join (void) throw (ThreadException)
 
bool isRunning (void)
 
void start (int priority=0) throw (ThreadException)
 
void stop () throw ()
 

Protected Member Functions

void run () throw ()
 
void __cancellation () throw ()
 
- Protected Member Functions inherited from dtn::routing::RoutingExtension
BaseRouteroperator* ()
 
- Protected Member Functions inherited from ibrcommon::JoinableThread
 JoinableThread (size_t size=DEFAULT_STACKSIZE)
 
- Protected Member Functions inherited from ibrcommon::Thread
virtual ~Thread ()=0
 
void reset () throw (ThreadException)
 
virtual void setup (void) throw ()
 
virtual void finally (void) throw ()
 
bool isFinalized () throw ()
 
bool operator== (const ibrcommon::Thread &other)
 
 Thread (size_t stack=DEFAULT_STACKSIZE)
 
int kill (int sig)
 
void cancel () throw ()
 

Additional Inherited Members

- Public Types inherited from dtn::routing::RoutingExtension
enum  CALLBACK_ACTION { ROUTE_CALLBACK_FORWARDED = 0, ROUTE_CALLBACK_ABORTED = 1, ROUTE_CALLBACK_REJECTED = 2, ROUTE_CALLBACK_DELETED = 3 }
 
- Static Public Member Functions inherited from dtn::routing::RoutingExtension
static bool isRouting (const dtn::data::EID &eid)
 
- Static Protected Member Functions inherited from ibrcommon::Thread
static size_t getNumberOfProcessors ()
 
static void yield (void)
 
static void sleep (time_t timeout)
 
static void concurrency (int level)
 
static bool equal (pthread_t thread1, pthread_t thread2)
 
static void * __execute__ (void *obj) throw ()
 

Detailed Description

Definition at line 46 of file EpidemicRoutingExtension.h.

Constructor & Destructor Documentation

dtn::routing::EpidemicRoutingExtension::EpidemicRoutingExtension ( )
dtn::routing::EpidemicRoutingExtension::~EpidemicRoutingExtension ( )
virtual

Definition at line 66 of file EpidemicRoutingExtension.cpp.

References ibrcommon::JoinableThread::join().

Here is the call graph for this function:

Member Function Documentation

void dtn::routing::EpidemicRoutingExtension::__cancellation ( ) throw ()
protectedvirtual

Implements ibrcommon::Thread.

Definition at line 186 of file EpidemicRoutingExtension.cpp.

void dtn::routing::EpidemicRoutingExtension::componentDown ( ) throw ()
virtual
void dtn::routing::EpidemicRoutingExtension::componentUp ( ) throw ()
virtual
void dtn::routing::EpidemicRoutingExtension::requestHandshake ( const dtn::data::EID ,
NodeHandshake request 
) const
virtual
See Also
BaseRouter::requestHandshake()

Reimplemented from dtn::routing::RoutingExtension.

Definition at line 71 of file EpidemicRoutingExtension.cpp.

References dtn::routing::NodeHandshake::addRequest(), and dtn::routing::BloomFilterSummaryVector::identifier.

Here is the call graph for this function:

void dtn::routing::EpidemicRoutingExtension::run ( ) throw ()
protectedvirtual

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