IBR-DTNSuite
0.8
|
#include <CustodyEvent.h>
Public Member Functions | |
virtual | ~CustodyEvent () |
EventCustodyAction | 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, const EventCustodyAction action) |
Static Public Attributes | |
static const std::string | className = "CustodyEvent" |
Definition at line 27 of file CustodyEvent.h.
dtn::core::CustodyEvent::~CustodyEvent | ( | ) | [virtual] |
Definition at line 20 of file CustodyEvent.cpp.
Definition at line 29 of file CustodyEvent.cpp.
Referenced by dtn::core::EventDebugger::raiseEvent().
const dtn::data::MetaBundle & dtn::core::CustodyEvent::getBundle | ( | ) | const |
Definition at line 24 of file CustodyEvent.cpp.
Referenced by dtn::core::EventDebugger::raiseEvent().
const std::string dtn::core::CustodyEvent::getName | ( | ) | const [virtual] |
void dtn::core::CustodyEvent::raise | ( | const dtn::data::MetaBundle & | bundle, |
const EventCustodyAction | action | ||
) | [static] |
Definition at line 44 of file CustodyEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::storage::BundleStorage::acceptCustody(), and dtn::storage::BundleStorage::rejectCustody().
std::string dtn::core::CustodyEvent::toString | ( | ) | const [virtual] |
const std::string dtn::core::CustodyEvent::className = "CustodyEvent" [static] |
Definition at line 40 of file CustodyEvent.h.
Referenced by dtn::api::EventConnection::finally(), getName(), dtn::api::EventConnection::setup(), and toString().