Public Member Functions | Public Attributes

dtn::routing::NeighborDatabase::NeighborEntry Class Reference

#include <NeighborDatabase.h>

Collaboration diagram for dtn::routing::NeighborDatabase::NeighborEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NeighborEntry ()
 NeighborEntry (const dtn::data::EID &eid)
 ~NeighborEntry ()
void updateLastSeen ()
void updateBundles (const ibrcommon::BloomFilter &bf)
void acquireTransfer () throw (NoMoreTransfersAvailable)
void releaseTransfer ()

Public Attributes

dtn::data::EID _eid
ibrcommon::BloomFilter _filter
size_t _filter_age
size_t _lastseen
size_t _lastupdate
bool _available

Detailed Description

Definition at line 47 of file NeighborDatabase.h.


Constructor & Destructor Documentation

dtn::routing::NeighborDatabase::NeighborEntry::NeighborEntry (  ) 

Definition at line 15 of file NeighborDatabase.cpp.

dtn::routing::NeighborDatabase::NeighborEntry::NeighborEntry ( const dtn::data::EID eid  ) 

Definition at line 19 of file NeighborDatabase.cpp.

dtn::routing::NeighborDatabase::NeighborEntry::~NeighborEntry (  ) 

Definition at line 23 of file NeighborDatabase.cpp.


Member Function Documentation

void dtn::routing::NeighborDatabase::NeighborEntry::acquireTransfer (  )  throw (NoMoreTransfersAvailable)

Definition at line 37 of file NeighborDatabase.cpp.

Referenced by dtn::routing::EpidemicRoutingExtension::run().

void dtn::routing::NeighborDatabase::NeighborEntry::releaseTransfer (  ) 
void dtn::routing::NeighborDatabase::NeighborEntry::updateBundles ( const ibrcommon::BloomFilter bf  ) 

Definition at line 31 of file NeighborDatabase.cpp.

References _filter, _lastupdate, and dtn::utils::Clock::getTime().

Referenced by dtn::routing::NeighborDatabase::updateBundles().

Here is the call graph for this function:

void dtn::routing::NeighborDatabase::NeighborEntry::updateLastSeen (  ) 

Definition at line 26 of file NeighborDatabase.cpp.

References _lastseen, and dtn::utils::Clock::getTime().

Referenced by dtn::routing::NeighborDatabase::setAvailable(), and dtn::routing::NeighborDatabase::setUnavailable().

Here is the call graph for this function:


Member Data Documentation

Definition at line 57 of file NeighborDatabase.h.

Definition at line 59 of file NeighborDatabase.h.

Definition at line 60 of file NeighborDatabase.h.

Referenced by updateLastSeen().


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