IBR-DTNSuite
0.12
|
#include <BundlePurgeEvent.h>
Public Types | |
enum | REASON_CODE { DELIVERED = 0, NO_ROUTE_KNOWN = 1, ACK_RECIEVED = 2 } |
Public Member Functions | |
virtual | ~BundlePurgeEvent () |
const std::string | getName () const |
std::string | getMessage () const |
Public Member Functions inherited from dtn::core::Event | |
virtual | ~Event ()=0 |
virtual std::string | toString () const |
bool | isLoggable () const |
Static Public Member Functions | |
static void | raise (const dtn::data::MetaBundle &meta, REASON_CODE reason=DELIVERED) |
Public Attributes | |
const dtn::data::MetaBundle | bundle |
const REASON_CODE | reason |
Public Attributes inherited from dtn::core::Event | |
const int | prio |
Static Public Attributes | |
static const std::string | className = "BundlePurgeEvent" |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::core::Event | |
Event (int prio=0) | |
void | setLoggable (bool val) |
Definition at line 33 of file BundlePurgeEvent.h.
Enumerator | |
---|---|
DELIVERED | |
NO_ROUTE_KNOWN | |
ACK_RECIEVED |
Definition at line 36 of file BundlePurgeEvent.h.
|
virtual |
Definition at line 34 of file BundlePurgeEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 49 of file BundlePurgeEvent.cpp.
References bundle, and dtn::data::BundleID::toString().
|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 44 of file BundlePurgeEvent.cpp.
References className.
|
static |
Definition at line 38 of file BundlePurgeEvent.cpp.
References dtn::core::EventDispatcher< E >::queue().
Referenced by dtn::core::FragmentManager::componentRun(), dtn::api::Registration::delivered(), dtn::routing::ProphetRoutingExtension::processHandshake(), and dtn::core::BundleCore::raiseEvent().
const dtn::data::MetaBundle dtn::core::BundlePurgeEvent::bundle |
Definition at line 48 of file BundlePurgeEvent.h.
Referenced by getMessage(), dtn::routing::ProphetRoutingExtension::raiseEvent(), and dtn::core::BundleCore::raiseEvent().
|
static |
Definition at line 52 of file BundlePurgeEvent.h.
Referenced by getName().
const REASON_CODE dtn::core::BundlePurgeEvent::reason |
Definition at line 49 of file BundlePurgeEvent.h.
Referenced by dtn::routing::ProphetRoutingExtension::raiseEvent().