IBR-DTNSuite
0.8
|
#include <TransferCompletedEvent.h>
Public Member Functions | |
virtual | ~TransferCompletedEvent () |
const string | getName () const |
string | toString () const |
const dtn::data::EID & | getPeer () const |
const dtn::data::MetaBundle & | getBundle () const |
Static Public Member Functions | |
static void | raise (const dtn::data::EID peer, const dtn::data::MetaBundle &bundle) |
Static Public Attributes | |
static const string | className = "TransferCompletedEvent" |
Definition at line 19 of file TransferCompletedEvent.h.
Definition at line 21 of file TransferCompletedEvent.cpp.
const dtn::data::MetaBundle & dtn::net::TransferCompletedEvent::getBundle | ( | ) | const |
Definition at line 42 of file TransferCompletedEvent.cpp.
Referenced by dtn::routing::RetransmissionExtension::notify(), dtn::routing::NeighborRoutingExtension::notify(), and dtn::routing::ProphetRoutingExtension::notify().
const string dtn::net::TransferCompletedEvent::getName | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 32 of file TransferCompletedEvent.cpp.
References className.
const dtn::data::EID & dtn::net::TransferCompletedEvent::getPeer | ( | ) | const |
Definition at line 37 of file TransferCompletedEvent.cpp.
Referenced by dtn::routing::StaticRoutingExtension::notify(), dtn::routing::RetransmissionExtension::notify(), dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::FloodRoutingExtension::notify(), dtn::routing::EpidemicRoutingExtension::notify(), and dtn::routing::ProphetRoutingExtension::notify().
void dtn::net::TransferCompletedEvent::raise | ( | const dtn::data::EID | peer, |
const dtn::data::MetaBundle & | bundle | ||
) | [static] |
Definition at line 26 of file TransferCompletedEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::net::FileConvergenceLayer::componentRun(), dtn::net::TCPConnection::eventBundleForwarded(), dtn::net::UDPConvergenceLayer::queue(), dtn::net::HTTPConvergenceLayer::queue(), and dtn::net::LOWPANConnectionSender::run().
string dtn::net::TransferCompletedEvent::toString | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 47 of file TransferCompletedEvent.cpp.
References className, dtn::data::EID::getString(), and dtn::data::BundleID::toString().
const string dtn::net::TransferCompletedEvent::className = "TransferCompletedEvent" [static] |
Definition at line 28 of file TransferCompletedEvent.h.
Referenced by dtn::routing::BaseRouter::componentDown(), dtn::routing::BaseRouter::componentUp(), dtn::api::EventConnection::finally(), getName(), dtn::api::EventConnection::setup(), and toString().