IBR-DTNSuite
0.8
|
#include <BundleReceivedEvent.h>
Public Member Functions | |
virtual | ~BundleReceivedEvent () |
const string | getName () const |
string | toString () const |
Static Public Member Functions | |
static void | raise (const dtn::data::EID &peer, const dtn::data::Bundle &bundle, const bool &local=false, const bool &wait=false) |
Public Attributes | |
const dtn::data::EID | peer |
const dtn::data::Bundle | bundle |
const bool | fromlocal |
Static Public Attributes | |
static const string | className = "BundleReceivedEvent" |
Definition at line 19 of file BundleReceivedEvent.h.
dtn::net::BundleReceivedEvent::~BundleReceivedEvent | ( | ) | [virtual] |
Definition at line 22 of file BundleReceivedEvent.cpp.
const std::string dtn::net::BundleReceivedEvent::getName | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 33 of file BundleReceivedEvent.cpp.
void dtn::net::BundleReceivedEvent::raise | ( | const dtn::data::EID & | peer, |
const dtn::data::Bundle & | bundle, | ||
const bool & | local = false , |
||
const bool & | wait = false |
||
) | [static] |
Definition at line 27 of file BundleReceivedEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::daemon::CapsuleWorker::callbackBundleReceived(), dtn::core::FragmentManager::componentRun(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::api::ApiServer::processIncomingBundle(), dtn::api::OrderedStreamHandler::put(), dtn::net::DatagramConnection::run(), dtn::net::LOWPANConnection::run(), dtn::net::DownloadThread::run(), and dtn::net::TCPConnection::run().
std::string dtn::net::BundleReceivedEvent::toString | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 38 of file BundleReceivedEvent.cpp.
Definition at line 33 of file BundleReceivedEvent.h.
Referenced by dtn::routing::BaseRouter::raiseEvent().
const string dtn::net::BundleReceivedEvent::className = "BundleReceivedEvent" [static] |
Definition at line 28 of file BundleReceivedEvent.h.
Referenced by dtn::routing::BaseRouter::componentDown(), and dtn::routing::BaseRouter::componentUp().
const bool dtn::net::BundleReceivedEvent::fromlocal |
Definition at line 34 of file BundleReceivedEvent.h.
Referenced by dtn::routing::BaseRouter::raiseEvent().
Definition at line 32 of file BundleReceivedEvent.h.
Referenced by dtn::routing::BaseRouter::raiseEvent().