IBR-DTNSuite
0.8
|
#include <MetaBundle.h>
Public Member Functions | |
MetaBundle () | |
MetaBundle (const dtn::data::BundleID &id) | |
MetaBundle (const dtn::data::Bundle &b) | |
virtual | ~MetaBundle () |
int | getPriority () const |
bool | get (dtn::data::PrimaryBlock::FLAGS flag) const |
Public Attributes | |
dtn::data::DTNTime | received |
size_t | lifetime |
dtn::data::EID | destination |
dtn::data::EID | reportto |
dtn::data::EID | custodian |
size_t | appdatalength |
size_t | procflags |
size_t | expiretime |
size_t | hopcount |
size_t | payloadlength |
Definition at line 20 of file MetaBundle.h.
Definition at line 20 of file MetaBundle.cpp.
dtn::data::MetaBundle::MetaBundle | ( | const dtn::data::BundleID & | id | ) |
Definition at line 26 of file MetaBundle.cpp.
dtn::data::MetaBundle::MetaBundle | ( | const dtn::data::Bundle & | b | ) |
read the hop limit
read the payload length
Definition at line 32 of file MetaBundle.cpp.
References expiretime, dtn::data::Bundle::getBlock(), dtn::utils::Clock::getExpireTime(), dtn::data::ScopeControlHopLimitBlock::getHopsToLive(), dtn::data::PayloadBlock::getLength(), hopcount, and payloadlength.
dtn::data::MetaBundle::~MetaBundle | ( | ) | [virtual] |
Definition at line 55 of file MetaBundle.cpp.
bool dtn::data::MetaBundle::get | ( | dtn::data::PrimaryBlock::FLAGS | flag | ) | const |
Definition at line 74 of file MetaBundle.cpp.
References procflags.
Referenced by dtn::storage::BundleStorage::acceptCustody(), dtn::api::Registration::delivered(), dtn::routing::NeighborRoutingExtension::notify(), dtn::core::StatusReportGenerator::raiseEvent(), dtn::storage::BundleStorage::rejectCustody(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::data::CustodySignalBlock::setMatch(), and dtn::core::FragmentManager::signal().
int dtn::data::MetaBundle::getPriority | ( | ) | const |
Definition at line 58 of file MetaBundle.cpp.
References dtn::data::PrimaryBlock::PRIORITY_BIT1, dtn::data::PrimaryBlock::PRIORITY_BIT2, and procflags.
Definition at line 36 of file MetaBundle.h.
Referenced by dtn::core::FragmentManager::componentRun(), dtn::data::DefaultDeserializer::operator>>(), dtn::api::EventConnection::raiseEvent(), and dtn::data::CustodySignalBlock::setMatch().
Definition at line 35 of file MetaBundle.h.
Referenced by dtn::storage::BundleStorage::acceptCustody(), dtn::data::DefaultDeserializer::operator>>(), dtn::routing::ProphetRoutingExtension::processHandshake(), and dtn::storage::BundleStorage::rejectCustody().
Definition at line 33 of file MetaBundle.h.
Referenced by dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::ProphetRoutingExtension::notify(), dtn::data::DefaultDeserializer::operator>>(), dtn::routing::ProphetRoutingExtension::processHandshake(), dtn::api::EventConnection::raiseEvent(), dtn::api::ApiServer::raiseEvent(), dtn::core::BundleCore::raiseEvent(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::routing::ProphetRoutingExtension::GRTR_Strategy::shallForward(), dtn::routing::ProphetRoutingExtension::GTMX_Strategy::shallForward(), dtn::core::FragmentManager::signal(), and dtn::api::Registration::underflow().
Definition at line 38 of file MetaBundle.h.
Referenced by MetaBundle(), dtn::routing::ProphetRoutingExtension::notify(), and dtn::data::DefaultDeserializer::operator>>().
Definition at line 39 of file MetaBundle.h.
Referenced by MetaBundle(), dtn::data::DefaultDeserializer::operator>>(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), and dtn::routing::EpidemicRoutingExtension::run().
Definition at line 32 of file MetaBundle.h.
Referenced by dtn::data::DefaultDeserializer::operator>>(), and dtn::api::EventConnection::raiseEvent().
Definition at line 40 of file MetaBundle.h.
Referenced by dtn::core::FragmentManager::componentRun(), and MetaBundle().
Definition at line 37 of file MetaBundle.h.
Referenced by get(), getPriority(), dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::ProphetRoutingExtension::notify(), dtn::data::DefaultDeserializer::operator>>(), dtn::core::EventDebugger::raiseEvent(), and dtn::api::EventConnection::raiseEvent().
Definition at line 31 of file MetaBundle.h.
Referenced by dtn::data::DefaultDeserializer::operator>>().
Definition at line 34 of file MetaBundle.h.
Referenced by dtn::data::DefaultDeserializer::operator>>().