IBR-DTN
1.0.0
|
#include <BundleCore.h>
Static Public Member Functions | |
static BundleCore & | getInstance () |
static void | processBlocks (dtn::data::Bundle &b) |
static void | inject (const dtn::data::EID &source, dtn::data::Bundle &bundle) |
Static Public Attributes | |
static dtn::data::EID | local |
static dtn::data::Length | blocksizelimit = 0 |
static dtn::data::Length | foreign_blocksizelimit = 0 |
static dtn::data::Length | max_lifetime = 0 |
static dtn::data::Length | max_timestamp_future = 0 |
static bool | forwarding = true |
static dtn::data::Size | max_bundles_in_transit = 5 |
Protected Member Functions | |
virtual void | componentUp () throw () |
virtual void | componentDown () throw () |
The BundleCore manage the Bundle Protocol basics
Definition at line 72 of file BundleCore.h.
void dtn::core::BundleCore::addRoute | ( | const dtn::data::EID & | destination, |
const dtn::data::EID & | nexthop, | ||
const dtn::data::Timeout | timeout = 0 |
||
) |
Add a static route to the static routing module.
destination | |
nexthop | |
timeout |
Definition at line 270 of file BundleCore.cpp.
References dtn::routing::StaticRouteChangeEvent::raiseEvent(), and dtn::routing::StaticRouteChangeEvent::ROUTE_ADD.
Referenced by dtn::net::ConnectionManager::add(), and dtn_dht_handle_lookup_result().
|
protectedvirtual |
Implements dtn::daemon::IntegratedComponent.
Definition at line 126 of file BundleCore.cpp.
References dtn::daemon::IntegratedComponent::terminate().
|
protectedvirtual |
Implements dtn::daemon::IntegratedComponent.
Definition at line 105 of file BundleCore.cpp.
References dtn::daemon::Configuration::getInstance(), dtn::daemon::IntegratedComponent::initialize(), onConfigurationChanged(), and dtn::daemon::IntegratedComponent::startup().
BundleFilter::ACTION dtn::core::BundleCore::evaluate | ( | BundleFilter::TABLE | table, |
const FilterContext & | context | ||
) | const |
Pass a context through the desired table
Definition at line 617 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, dtn::core::BundleFilterTable::evaluate(), dtn::core::BundleFilter::INPUT, dtn::core::BundleFilter::OUTPUT, and dtn::core::BundleFilter::ROUTING.
Referenced by dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), and dtn::routing::EpidemicRoutingExtension::run().
void dtn::core::BundleCore::eventNotify | ( | const ibrcommon::LinkEvent & | evt | ) |
Definition at line 698 of file BundleCore.cpp.
References dtn::daemon::Configuration::getInstance(), dtn::daemon::Configuration::Network::getInternetDevices(), and dtn::daemon::Configuration::getNetwork().
BundleFilter::ACTION dtn::core::BundleCore::filter | ( | BundleFilter::TABLE | table, |
const FilterContext & | context, | ||
dtn::data::Bundle & | bundle | ||
) | const |
Pass a bundle with a context through the desired table. The bundle may be modified during the processing.
Definition at line 598 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, dtn::core::BundleFilterTable::filter(), dtn::core::BundleFilter::INPUT, dtn::core::BundleFilter::OUTPUT, and dtn::core::BundleFilter::ROUTING.
Referenced by dtn::net::FileConvergenceLayer::componentRun(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), dtn::net::LOWPANConnectionSender::run(), dtn::net::DatagramConnection::run(), dtn::net::LOWPANConnection::run(), dtn::net::DownloadThread::run(), and dtn::net::TCPConnection::run().
WallClock & dtn::core::BundleCore::getClock | ( | ) |
Definition at line 255 of file BundleCore.cpp.
dtn::net::ConnectionManager & dtn::core::BundleCore::getConnectionManager | ( | ) |
Make the connection manager available to other modules.
Definition at line 260 of file BundleCore.cpp.
Referenced by dtn::daemon::NativeDaemon::addConnection(), dtn::net::WifiP2PManager::componentDown(), dtn::dht::DHTNameService::componentRun(), dtn::net::WifiP2PManager::componentUp(), dtn_dht_handle_lookup_result(), dtn::routing::NeighborRoutingExtension::eventBundleQueued(), dtn::routing::FloodRoutingExtension::eventBundleQueued(), dtn::routing::EpidemicRoutingExtension::eventBundleQueued(), dtn::routing::ProphetRoutingExtension::eventBundleQueued(), dtn::routing::BaseRouter::extensionsUp(), dtn::api::ApiP2PExtensionHandler::finally(), dtn::net::P2PDialupExtension::fireConnected(), dtn::net::P2PDialupExtension::fireDisconnected(), dtn::net::P2PDialupExtension::fireDiscovered(), dtn::daemon::NativeDaemon::getInfo(), dtn::daemon::NativeDaemon::getNeighbors(), dtn::daemon::NativeDaemon::getStats(), dtn::daemon::NativeDaemon::initiateConnection(), dtn::net::DiscoveryAgent::onBeaconReceived(), dtn::net::P2PDialupExtension::P2PDialupExtension(), dtn::daemon::DTNTPWorker::raiseEvent(), dtn::routing::RetransmissionExtension::raiseEvent(), dtn::routing::BaseRouter::raiseEvent(), dtn::daemon::NativeDaemon::removeConnection(), dtn::api::ExtendedApiHandler::run(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::api::ApiP2PExtensionHandler::setup(), dtn::routing::RoutingExtension::transferTo(), and dtn::net::P2PDialupExtension::~P2PDialupExtension().
dtn::net::DiscoveryAgent & dtn::core::BundleCore::getDiscoveryAgent | ( | ) |
Make the discovery agent avilable to other modules.
Definition at line 265 of file BundleCore.cpp.
Referenced by dtn::net::IPNDAgent::componentDown(), dtn::net::UDPConvergenceLayer::componentDown(), dtn::net::LOWPANConvergenceLayer::componentDown(), dtn::net::DatagramConvergenceLayer::componentDown(), dtn::net::EMailConvergenceLayer::componentDown(), dtn::dht::DHTNameService::componentDown(), dtn::net::IPNDAgent::componentRun(), dtn::net::LOWPANConvergenceLayer::componentRun(), dtn::net::DatagramConvergenceLayer::componentRun(), dtn::net::IPNDAgent::componentUp(), dtn::net::UDPConvergenceLayer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), dtn::net::DatagramConvergenceLayer::componentUp(), dtn::net::EMailConvergenceLayer::componentUp(), dtn::dht::DHTNameService::componentUp(), dtn::daemon::DTNTPWorker::DTNTPWorker(), dtn::net::IPNDAgent::raiseEvent(), dtn::net::TCPConvergenceLayer::raiseEvent(), dtn::net::DatagramConvergenceLayer::receive(), dtn::daemon::DTNTPWorker::~DTNTPWorker(), and dtn::net::TCPConvergenceLayer::~TCPConvergenceLayer().
|
static |
Definition at line 82 of file BundleCore.cpp.
Referenced by dtn::routing::AcknowledgementSet::add(), dtn::net::ConnectionManager::add(), dtn::daemon::NativeDaemon::addConnection(), dtn::routing::BaseRouter::BaseRouter(), dtn::daemon::CapsuleWorker::callbackBundleReceived(), dtn::daemon::NativeDaemon::clearStorage(), dtn::net::WifiP2PManager::componentDown(), dtn::net::IPNDAgent::componentDown(), dtn::net::UDPConvergenceLayer::componentDown(), dtn::net::LOWPANConvergenceLayer::componentDown(), dtn::net::DatagramConvergenceLayer::componentDown(), dtn::net::EMailConvergenceLayer::componentDown(), dtn::dht::DHTNameService::componentDown(), dtn::net::FileConvergenceLayer::componentRun(), dtn::net::IPNDAgent::componentRun(), dtn::core::FragmentManager::componentRun(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::net::LOWPANConvergenceLayer::componentRun(), dtn::net::DatagramConvergenceLayer::componentRun(), dtn::dht::DHTNameService::componentRun(), dtn::net::WifiP2PManager::componentUp(), dtn::net::IPNDAgent::componentUp(), dtn::net::UDPConvergenceLayer::componentUp(), dtn::net::LOWPANConvergenceLayer::componentUp(), dtn::net::DatagramConvergenceLayer::componentUp(), dtn::net::EMailConvergenceLayer::componentUp(), dtn::dht::DHTNameService::componentUp(), dtn::api::NativeSession::delivered(), dtn_dht_handle_lookup_result(), dtn::daemon::DTNTPWorker::DTNTPWorker(), dtn::routing::NeighborRoutingExtension::eventBundleQueued(), dtn::routing::FloodRoutingExtension::eventBundleQueued(), dtn::routing::EpidemicRoutingExtension::eventBundleQueued(), dtn::routing::ProphetRoutingExtension::eventBundleQueued(), dtn::net::TCPConnection::eventConnectionUp(), dtn::routing::BaseRouter::extensionsUp(), dtn::api::ApiP2PExtensionHandler::finally(), dtn::net::P2PDialupExtension::fireConnected(), dtn::net::P2PDialupExtension::fireDisconnected(), dtn::net::P2PDialupExtension::fireDiscovered(), dtn::api::NativeSession::free(), dtn::routing::NeighborDatabase::get(), dtn::daemon::NativeDaemon::getInfo(), dtn::daemon::NativeDaemon::getNeighbors(), dtn::routing::BaseRouter::getSeeker(), dtn::daemon::NativeDaemon::getStats(), dtn::routing::BaseRouter::getStorage(), dtn::daemon::NativeDaemon::initiateConnection(), dtn::core::Node::isAvailable(), dtn::api::NativeSession::load(), dtn::net::DiscoveryAgent::onBeaconReceived(), dtn::routing::RoutingExtension::operator*(), dtn::net::P2PDialupExtension::P2PDialupExtension(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), dtn::daemon::DTNTPWorker::raiseEvent(), dtn::routing::RetransmissionExtension::raiseEvent(), dtn::net::IPNDAgent::raiseEvent(), dtn::net::TCPConvergenceLayer::raiseEvent(), raiseEvent(), dtn::routing::BaseRouter::raiseEvent(), dtn::net::DatagramConvergenceLayer::receive(), dtn::api::Registration::receive(), dtn::daemon::NativeDaemon::removeConnection(), dtn::net::LOWPANConnectionSender::run(), dtn::api::ExtendedApiHandler::run(), dtn::routing::NeighborRoutingExtension::run(), dtn::routing::FloodRoutingExtension::run(), dtn::net::DatagramConnection::run(), dtn::routing::StaticRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::net::LOWPANConnection::run(), dtn::net::DownloadThread::run(), dtn::net::TCPConnection::run(), dtn::daemon::NativeDaemon::setConfigFile(), dtn::daemon::NativeDaemon::setGloballyConnected(), dtn::core::FragmentManager::setOffset(), dtn::api::ApiP2PExtensionHandler::setup(), dtn::routing::RoutingExtension::transferTo(), dtn::api::BundleStreamBuf::underflow(), dtn::api::Registration::underflow(), dtn::routing::BaseRouter::~BaseRouter(), dtn::daemon::DTNTPWorker::~DTNTPWorker(), dtn::net::P2PDialupExtension::~P2PDialupExtension(), and dtn::net::TCPConvergenceLayer::~TCPConvergenceLayer().
|
virtual |
Implements dtn::daemon::Component.
Definition at line 636 of file BundleCore.cpp.
dtn::routing::BaseRouter & dtn::core::BundleCore::getRouter | ( | ) | const |
Definition at line 227 of file BundleCore.cpp.
Referenced by dtn::routing::RoutingExtension::operator*().
dtn::storage::BundleSeeker & dtn::core::BundleCore::getSeeker | ( | ) |
Definition at line 246 of file BundleCore.cpp.
Referenced by dtn::routing::BaseRouter::getSeeker(), and dtn::api::Registration::underflow().
dtn::storage::BundleStorage & dtn::core::BundleCore::getStorage | ( | ) |
Definition at line 237 of file BundleCore.cpp.
Referenced by dtn::daemon::NativeDaemon::clearStorage(), dtn::net::FileConvergenceLayer::componentRun(), dtn::core::FragmentManager::componentRun(), dtn::dht::DHTNameService::componentRun(), dtn::api::NativeSession::delivered(), dtn::api::NativeSession::free(), dtn::daemon::NativeDaemon::getStats(), dtn::routing::BaseRouter::getStorage(), dtn::api::NativeSession::load(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), dtn::routing::RetransmissionExtension::raiseEvent(), raiseEvent(), dtn::api::Registration::receive(), dtn::net::LOWPANConnectionSender::run(), dtn::api::ExtendedApiHandler::run(), dtn::core::FragmentManager::setOffset(), and dtn::api::BundleStreamBuf::underflow().
|
static |
Injects a bundle from an endpoint into the BPA system
Definition at line 706 of file BundleCore.cpp.
References dtn::data::TrackingBlock::append(), dtn::data::CompressedPayloadBlock::compress(), dtn::data::CompressedPayloadBlock::COMPRESSION_ZLIB, dtn::data::PrimaryBlock::DTNSEC_REQUEST_ENCRYPT, dtn::data::PrimaryBlock::DTNSEC_REQUEST_SIGN, dtn::security::SecurityManager::encrypt(), dtn::data::Bundle::find(), dtn::data::PrimaryBlock::get(), dtn::security::SecurityManager::getInstance(), dtn::daemon::Configuration::getInstance(), dtn::daemon::Configuration::getLimit(), dtn::data::PrimaryBlock::IBRDTN_REQUEST_COMPRESSION, local, dtn::net::BundleReceivedEvent::raise(), dtn::data::PrimaryBlock::set(), dtn::security::SecurityManager::sign(), and dtn::core::FragmentManager::split().
Referenced by dtn::storage::BundleStorage::acceptCustody(), dtn::api::Registration::processIncomingBundle(), dtn::api::OrderedStreamHandler::put(), dtn::storage::BundleStorage::rejectCustody(), and dtn::core::AbstractWorker::transmit().
bool dtn::core::BundleCore::isGloballyConnected | ( | ) | const |
Determine if this daemon is globally connected.
Definition at line 280 of file BundleCore.cpp.
|
virtual |
Implements dtn::daemon::Configuration::OnChangeListener.
Definition at line 140 of file BundleCore.cpp.
References blocksizelimit, foreign_blocksizelimit, forwarding, local, max_bundles_in_transit, max_lifetime, and max_timestamp_future.
Referenced by componentUp(), and dtn::daemon::NativeDaemon::setConfigFile().
|
static |
Definition at line 641 of file BundleCore.cpp.
References dtn::data::Bundle::begin(), dtn::data::CompressedPayloadBlock::BLOCK_TYPE, dtn::security::PayloadConfidentialBlock::BLOCK_TYPE, dtn::security::SecurityManager::decrypt(), dtn::data::Bundle::end(), dtn::data::CompressedPayloadBlock::extract(), dtn::security::SecurityManager::getInstance(), and dtn::data::Block::getType().
Referenced by dtn::api::NativeSession::load(), dtn::api::ExtendedApiHandler::run(), and dtn::api::BundleStreamBuf::underflow().
|
virtual |
Implements dtn::core::EventReceiver< dtn::routing::QueueBundleEvent >.
Definition at line 285 of file BundleCore.cpp.
References dtn::data::PrimaryBlock::APPDATA_IS_ADMRECORD, dtn::core::BUNDLE_DELETED, dtn::core::BUNDLE_DELIVERED, dtn::data::MetaBundle::destination, dtn::data::StatusReportBlock::DESTINATION_ENDPOINT_ID_UNINTELLIGIBLE, dtn::data::PrimaryBlock::DESTINATION_IS_SINGLETON, dtn::data::Bundle::find(), dtn::data::MetaBundle::get(), dtn::data::PrimaryBlock::get(), dtn::data::MetaBundle::isFragment(), dtn::core::BundlePurgeEvent::raise(), dtn::core::BundleEvent::raise(), dtn::data::CustodySignalBlock::read(), dtn::data::BundleID::source, and dtn::data::BundleID::toString().
|
virtual |
Implements dtn::core::EventReceiver< dtn::core::BundlePurgeEvent >.
Definition at line 385 of file BundleCore.cpp.
References getInstance(), getStorage(), and dtn::storage::BundleStorage::remove().
|
virtual |
Implements dtn::core::EventReceiver< dtn::net::TransferCompletedEvent >.
Definition at line 344 of file BundleCore.cpp.
References dtn::core::BUNDLE_DELETED, dtn::data::MetaBundle::destination, dtn::data::PrimaryBlock::DESTINATION_IS_SINGLETON, dtn::data::StatusReportBlock::NO_ADDITIONAL_INFORMATION, dtn::data::MetaBundle::procflags, dtn::core::BundlePurgeEvent::raise(), dtn::core::BundleEvent::raise(), dtn::data::EID::sameHost(), and dtn::data::BundleID::toString().
|
virtual |
Implements dtn::core::EventReceiver< dtn::net::TransferAbortedEvent >.
Definition at line 363 of file BundleCore.cpp.
References dtn::data::MetaBundle::destination, dtn::data::PrimaryBlock::DESTINATION_IS_SINGLETON, dtn::core::BundlePurgeEvent::NO_ROUTE_KNOWN, dtn::data::MetaBundle::procflags, dtn::core::BundlePurgeEvent::raise(), dtn::net::TransferAbortedEvent::REASON_REFUSED, and dtn::data::EID::sameHost().
void dtn::core::BundleCore::removeRoute | ( | const dtn::data::EID & | destination, |
const dtn::data::EID & | nexthop | ||
) |
Remove a static route from the static routing module.
destination | |
nexthop |
Definition at line 275 of file BundleCore.cpp.
References dtn::routing::StaticRouteChangeEvent::raiseEvent(), and dtn::routing::StaticRouteChangeEvent::ROUTE_DEL.
void dtn::core::BundleCore::setGloballyConnected | ( | bool | val | ) |
Definition at line 790 of file BundleCore.cpp.
References dtn::core::GlobalEvent::GLOBAL_INTERNET_AVAILABLE, dtn::core::GlobalEvent::GLOBAL_INTERNET_UNAVAILABLE, and dtn::core::GlobalEvent::raise().
Referenced by dtn::daemon::NativeDaemon::setGloballyConnected().
void dtn::core::BundleCore::setRouter | ( | dtn::routing::BaseRouter * | router | ) |
Definition at line 222 of file BundleCore.cpp.
Referenced by dtn::routing::BaseRouter::BaseRouter(), and dtn::routing::BaseRouter::~BaseRouter().
void dtn::core::BundleCore::setSeeker | ( | dtn::storage::BundleSeeker * | seeker | ) |
Definition at line 217 of file BundleCore.cpp.
void dtn::core::BundleCore::setStorage | ( | dtn::storage::BundleStorage * | storage | ) |
Definition at line 212 of file BundleCore.cpp.
|
virtual |
Implements dtn::data::Validator.
Definition at line 438 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, forwarding, dtn::utils::Clock::getRating(), dtn::utils::Clock::getTime(), dtn::utils::Clock::isExpired(), local, max_lifetime, max_timestamp_future, and dtn::core::FilterContext::setPrimaryBlock().
Referenced by dtn::routing::AcknowledgementSet::add().
|
virtual |
Implements dtn::data::Validator.
Definition at line 498 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, blocksizelimit, and dtn::core::FilterContext::setBlock().
|
virtual |
Implements dtn::data::Validator.
Definition at line 517 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, blocksizelimit, foreign_blocksizelimit, local, dtn::core::FilterContext::setBlock(), and dtn::core::FilterContext::setPrimaryBlock().
|
virtual |
Implements dtn::data::Validator.
Definition at line 553 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, dtn::data::StatusReportBlock::BLOCK_UNINTELLIGIBLE, dtn::core::BUNDLE_RECEIVED, dtn::data::MetaBundle::create(), dtn::data::Block::DELETE_BUNDLE_IF_NOT_PROCESSED, dtn::data::Block::get(), dtn::utils::Clock::isExpired(), dtn::core::BundleEvent::raise(), dtn::core::FilterContext::setBundle(), and dtn::data::Block::TRANSMIT_STATUSREPORT_IF_NOT_PROCESSED.
|
virtual |
Definition at line 396 of file BundleCore.cpp.
References dtn::core::BundleFilter::ACCEPT, dtn::utils::Clock::getRating(), dtn::utils::Clock::getTime(), dtn::utils::Clock::isExpired(), max_lifetime, max_timestamp_future, and dtn::core::FilterContext::setMetaBundle().
|
static |
Define a global block size limit. This is used in the validator to reject bundles while receiving.
Definition at line 153 of file BundleCore.h.
Referenced by onConfigurationChanged(), and validate().
|
static |
Define a global block size limit for foreign bundles (not addressed locally). This is used in the validator to reject bundles while receiving.
Definition at line 159 of file BundleCore.h.
Referenced by onConfigurationChanged(), and validate().
|
static |
Define if forwarding is allowed. If set to false, this daemon only accepts bundles for local applications.
Definition at line 174 of file BundleCore.h.
Referenced by onConfigurationChanged(), and validate().
|
static |
Definition at line 79 of file BundleCore.h.
Referenced by dtn::storage::BundleStorage::acceptCustody(), dtn::api::NativeSession::addEndpoint(), dtn::routing::DeliveryPredictabilityMap::age(), dtn::security::SecurityManager::auth(), dtn::security::NoneProtocol::begin(), dtn::security::HashProtocol::begin(), dtn::security::JPAKEProtocol::begin(), dtn::daemon::DTNTPWorker::callbackBundleReceived(), dtn::security::KeyExchanger::callbackBundleReceived(), dtn::core::FragmentManager::componentRun(), dtn::net::HTTPConvergenceLayer::componentRun(), dtn::net::LOWPANConvergenceLayer::componentRun(), dtn::dht::DHTNameService::componentRun(), dtn::security::SecurityManager::decrypt(), dtn::net::ConnectionManager::discovered(), dtn_dht_handle_lookup_result(), dtn::security::SecurityManager::encrypt(), dtn::net::TCPConnection::eventConnectionUp(), dtn::daemon::NativeDaemon::getLocalUri(), dtn::api::NativeSession::getNodeEID(), inject(), dtn::net::DiscoveryAgent::obtainBeacon(), dtn::net::DiscoveryAgent::onBeaconReceived(), dtn::security::SecurityKeyManager::onConfigurationChanged(), onConfigurationChanged(), dtn::routing::NodeHandshakeExtension::processHandshake(), dtn::routing::ProphetRoutingExtension::processHandshake(), dtn::routing::ProphetRoutingExtension::ProphetRoutingExtension(), dtn::net::HTTPConvergenceLayer::queue(), dtn::core::FragmentManager::raiseEvent(), dtn::routing::BaseRouter::raiseEvent(), dtn::dht::DHTNameService::raiseEvent(), dtn::net::DatagramConvergenceLayer::receive(), dtn::storage::BundleStorage::rejectCustody(), dtn::api::NativeSession::removeEndpoint(), dtn::api::BinaryStreamClient::run(), dtn::api::ExtendedApiHandler::run(), dtn::routing::FloodRoutingExtension::run(), dtn::routing::StaticRoutingExtension::run(), dtn::routing::EpidemicRoutingExtension::run(), dtn::net::TCPConnection::run(), dtn::security::SecurityManager::sign(), dtn::security::NoneProtocol::step(), dtn::security::HashProtocol::step(), dtn::security::JPAKEProtocol::step(), dtn::security::DHProtocol::step(), dtn::security::KeyExchanger::submit(), dtn::core::AbstractWorker::transmit(), dtn::routing::DeliveryPredictabilityMap::update(), validate(), and dtn::security::SecurityManager::verifyIntegrity().
|
static |
Defines how many bundles should be in transit at once
Definition at line 179 of file BundleCore.h.
Referenced by dtn::routing::NeighborDatabase::NeighborEntry::acquireTransfer(), dtn::routing::NeighborDatabase::NeighborEntry::getFreeTransferSlots(), dtn::routing::NeighborDatabase::NeighborEntry::isTransferThresholdReached(), onConfigurationChanged(), and dtn::api::Registration::underflow().
|
static |
Define the maximum lifetime for accepted bundles
Definition at line 164 of file BundleCore.h.
Referenced by onConfigurationChanged(), and validate().
|
static |
Define the maximum offset for the timestamp of pre-dated bundles
Definition at line 169 of file BundleCore.h.
Referenced by onConfigurationChanged(), and validate().