#include <PrimaryBlock.h>
Definition at line 23 of file PrimaryBlock.h.
Definition at line 29 of file PrimaryBlock.h.
| dtn::data::PrimaryBlock::PrimaryBlock | ( | ) |
Definition at line 18 of file PrimaryBlock.cpp.
References _sequencenumber, _timestamp, and dtn::utils::Clock::getTime().
Referenced by dtn::data::Bundle::operator!=(), dtn::data::Bundle::operator<(), dtn::data::Bundle::operator==(), and dtn::data::Bundle::operator>().
| dtn::data::PrimaryBlock::~PrimaryBlock | ( | ) | [virtual] |
Definition at line 26 of file PrimaryBlock.cpp.
| bool dtn::data::PrimaryBlock::get | ( | FLAGS | flag | ) | const |
| bool dtn::data::PrimaryBlock::isExpired | ( | ) | const |
Definition at line 90 of file PrimaryBlock.cpp.
References _lifetime, and _timestamp.
| bool dtn::data::PrimaryBlock::operator!= | ( | const PrimaryBlock & | other | ) | const |
Definition at line 47 of file PrimaryBlock.cpp.
| bool dtn::data::PrimaryBlock::operator< | ( | const PrimaryBlock & | other | ) | const |
Definition at line 69 of file PrimaryBlock.cpp.
References _fragmentoffset, _sequencenumber, _source, _timestamp, FRAGMENT, and get().
| bool dtn::data::PrimaryBlock::operator== | ( | const PrimaryBlock & | other | ) | const |
Definition at line 52 of file PrimaryBlock.cpp.
References _appdatalength, _fragmentoffset, _procflags, _sequencenumber, _source, _timestamp, and FRAGMENT.
| bool dtn::data::PrimaryBlock::operator> | ( | const PrimaryBlock & | other | ) | const |
Definition at line 85 of file PrimaryBlock.cpp.
| void dtn::data::PrimaryBlock::relabel | ( | ) |
relabel the primary block with a new sequence number and a timestamp
Definition at line 102 of file PrimaryBlock.cpp.
References _sequencenumber, _timestamp, and dtn::utils::Clock::getTime().
Referenced by dtn::daemon::ClientHandler::run().
| void dtn::data::PrimaryBlock::set | ( | FLAGS | flag, | |
| bool | value | |||
| ) |
Definition at line 30 of file PrimaryBlock.cpp.
References _procflags.
Referenced by dtn::api::Bundle::requestDeletedReport(), dtn::api::Bundle::requestDeliveredReport(), dtn::api::Bundle::requestForwardedReport(), and dtn::api::Bundle::requestReceptionReport().
| std::string dtn::data::PrimaryBlock::toString | ( | ) | const |
Reimplemented in dtn::data::Bundle.
Definition at line 95 of file PrimaryBlock.cpp.
References _destination, _sequencenumber, _source, _timestamp, and dtn::data::EID::getString().
friend class DefaultDeserializer [friend] |
Reimplemented in dtn::data::Bundle.
Definition at line 26 of file PrimaryBlock.h.
friend class DefaultSerializer [friend] |
Reimplemented in dtn::data::Bundle.
Definition at line 25 of file PrimaryBlock.h.
Definition at line 78 of file PrimaryBlock.h.
Referenced by dtn::data::DefaultSerializer::getLength(), dtn::data::CustodySignalBlock::match(), dtn::data::DefaultSerializer::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), and dtn::data::CustodySignalBlock::setMatch().
Definition at line 83 of file PrimaryBlock.h.
Referenced by dtn::core::BundleStorage::acceptCustody(), dtn::data::DefaultSerializer::getLength(), dtn::data::DefaultSerializer::isCompressable(), dtn::data::DefaultSerializer::operator<<(), dtn::data::DefaultDeserializer::operator>>(), dtn::data::DefaultSerializer::rebuildDictionary(), dtn::core::BundleStorage::rejectCustody(), and dtn::daemon::ClientHandler::run().
Definition at line 81 of file PrimaryBlock.h.
Referenced by dtn::core::BundleStorage::acceptCustody(), dtn::api::Bundle::Bundle(), dtn::api::Bundle::getDestination(), dtn::data::DefaultSerializer::getLength(), dtn::data::DefaultSerializer::isCompressable(), dtn::data::DefaultSerializer::operator<<(), dtn::data::DefaultDeserializer::operator>>(), dtn::data::DefaultSerializer::rebuildDictionary(), dtn::core::BundleStorage::rejectCustody(), dtn::daemon::ClientHandler::run(), dtn::core::SQLiteBundleStorage::store(), and toString().
Definition at line 77 of file PrimaryBlock.h.
Referenced by dtn::data::DefaultSerializer::getLength(), dtn::data::CustodySignalBlock::match(), operator<(), dtn::data::DefaultSerializer::operator<<(), dtn::data::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), and dtn::data::CustodySignalBlock::setMatch().
Definition at line 76 of file PrimaryBlock.h.
Referenced by dtn::daemon::EchoWorker::callbackBundleReceived(), dtn::data::DefaultSerializer::getLength(), isExpired(), dtn::data::DefaultSerializer::operator<<(), dtn::data::DefaultDeserializer::operator>>(), dtn::api::Bundle::setLifetime(), and dtn::core::SQLiteBundleStorage::store().
Definition at line 73 of file PrimaryBlock.h.
Referenced by dtn::core::BundleStorage::acceptCustody(), dtn::api::Bundle::Bundle(), dtn::data::BundleMerger::Container::Container(), get(), dtn::data::DefaultSerializer::getLength(), dtn::data::CustodySignalBlock::match(), dtn::data::DefaultSerializer::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), dtn::data::SeparateDeserializer::readBlock(), dtn::core::BundleStorage::rejectCustody(), set(), dtn::data::CustodySignalBlock::setMatch(), dtn::api::Bundle::setPriority(), and dtn::core::SQLiteBundleStorage::store().
Definition at line 82 of file PrimaryBlock.h.
Referenced by dtn::data::DefaultSerializer::getLength(), dtn::data::DefaultSerializer::isCompressable(), dtn::data::DefaultSerializer::operator<<(), dtn::data::DefaultDeserializer::operator>>(), dtn::data::DefaultSerializer::rebuildDictionary(), dtn::daemon::ClientHandler::run(), and dtn::api::Bundle::setReportTo().
Definition at line 75 of file PrimaryBlock.h.
Referenced by dtn::data::DefaultSerializer::getLength(), dtn::data::CustodySignalBlock::match(), operator<(), dtn::data::DefaultSerializer::operator<<(), dtn::data::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), PrimaryBlock(), relabel(), dtn::data::CustodySignalBlock::setMatch(), dtn::core::SQLiteBundleStorage::store(), and toString().
Definition at line 80 of file PrimaryBlock.h.
Referenced by dtn::core::BundleStorage::acceptCustody(), dtn::api::Bundle::Bundle(), dtn::daemon::EchoWorker::callbackBundleReceived(), dtn::data::DefaultSerializer::getLength(), dtn::api::Bundle::getSource(), dtn::data::DefaultSerializer::isCompressable(), dtn::data::CustodySignalBlock::match(), operator<(), dtn::data::DefaultSerializer::operator<<(), dtn::data::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), dtn::data::DefaultSerializer::rebuildDictionary(), dtn::core::BundleStorage::rejectCustody(), dtn::routing::EpidemicRoutingExtension::run(), dtn::daemon::ClientHandler::run(), dtn::data::CustodySignalBlock::setMatch(), dtn::core::SQLiteBundleStorage::store(), and toString().
Definition at line 74 of file PrimaryBlock.h.
Referenced by dtn::data::DefaultSerializer::getLength(), isExpired(), dtn::data::CustodySignalBlock::match(), operator<(), dtn::data::DefaultSerializer::operator<<(), dtn::data::operator<<(), operator==(), dtn::data::DefaultDeserializer::operator>>(), PrimaryBlock(), relabel(), dtn::data::CustodySignalBlock::setMatch(), dtn::core::SQLiteBundleStorage::store(), and toString().
1.6.3