#include <NeighborDatabase.h>

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 |
Definition at line 47 of file NeighborDatabase.h.
| 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.
| 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 | ( | ) |
Definition at line 44 of file NeighborDatabase.cpp.
Referenced by dtn::routing::EpidemicRoutingExtension::notify(), and dtn::routing::EpidemicRoutingExtension::run().
| 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().

| 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().

Definition at line 62 of file NeighborDatabase.h.
Referenced by dtn::routing::NeighborDatabase::setAvailable(), and dtn::routing::NeighborDatabase::setUnavailable().
Definition at line 57 of file NeighborDatabase.h.
Definition at line 58 of file NeighborDatabase.h.
Referenced by dtn::routing::NeighborDatabase::knowBundle(), dtn::routing::FloodRoutingExtension::notify(), dtn::routing::EpidemicRoutingExtension::notify(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), and updateBundles().
Definition at line 59 of file NeighborDatabase.h.
Definition at line 60 of file NeighborDatabase.h.
Referenced by updateLastSeen().
Definition at line 61 of file NeighborDatabase.h.
Referenced by dtn::routing::EpidemicRoutingExtension::run(), and updateBundles().
1.7.1