IBR-DTNSuite
0.8
|
#include <BundleEvent.h>
Public Member Functions | |
virtual | ~BundleEvent () |
dtn::data::StatusReportBlock::REASON_CODE | getReason () const |
EventBundleAction | getAction () const |
const dtn::data::MetaBundle & | getBundle () const |
const std::string | getName () const |
std::string | toString () const |
Static Public Member Functions | |
static void | raise (const dtn::data::MetaBundle &bundle, EventBundleAction action, dtn::data::StatusReportBlock::REASON_CODE reason=dtn::data::StatusReportBlock::NO_ADDITIONAL_INFORMATION) |
Static Public Attributes | |
static const std::string | className = "BundleEvent" |
Definition at line 31 of file BundleEvent.h.
dtn::core::BundleEvent::~BundleEvent | ( | ) | [virtual] |
Definition at line 17 of file BundleEvent.cpp.
Definition at line 25 of file BundleEvent.cpp.
Referenced by dtn::core::EventDebugger::raiseEvent(), dtn::core::StatusReportGenerator::raiseEvent(), and dtn::daemon::StatisticLogger::raiseEvent().
const dtn::data::MetaBundle & dtn::core::BundleEvent::getBundle | ( | ) | const |
Definition at line 20 of file BundleEvent.cpp.
Referenced by dtn::core::EventDebugger::raiseEvent(), and dtn::core::StatusReportGenerator::raiseEvent().
const std::string dtn::core::BundleEvent::getName | ( | ) | const [virtual] |
Definition at line 30 of file BundleEvent.cpp.
Referenced by dtn::core::StatusReportGenerator::raiseEvent().
void dtn::core::BundleEvent::raise | ( | const dtn::data::MetaBundle & | bundle, |
EventBundleAction | action, | ||
dtn::data::StatusReportBlock::REASON_CODE | reason = dtn::data::StatusReportBlock::NO_ADDITIONAL_INFORMATION |
||
) | [static] |
Definition at line 45 of file BundleEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::net::FileConvergenceLayer::componentRun(), dtn::api::Registration::delivered(), dtn::storage::MemoryBundleStorage::eventBundleExpired(), dtn::storage::SimpleBundleStorage::eventBundleExpired(), dtn::net::TCPConnection::eventBundleForwarded(), dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::NodeHandshakeExtension::processHandshake(), dtn::routing::ProphetRoutingExtension::processHandshake(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), dtn::core::BundleCore::raiseEvent(), dtn::routing::BaseRouter::raiseEvent(), dtn::net::LOWPANConnectionSender::run(), and dtn::core::BundleCore::validate().
std::string dtn::core::BundleEvent::toString | ( | ) | const [virtual] |
const string dtn::core::BundleEvent::className = "BundleEvent" [static] |