IBR-DTNSuite
0.12
|
#include <BundleReceivedEvent.h>
Public Member Functions | |
virtual | ~BundleReceivedEvent () |
const 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::EID &peer, const dtn::data::Bundle &bundle, const bool local=false) |
Public Attributes | |
const dtn::data::EID | peer |
const dtn::data::Bundle | bundle |
const bool | fromlocal |
Public Attributes inherited from dtn::core::Event | |
const int | prio |
Static Public Attributes | |
static const string | className = "BundleReceivedEvent" |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::core::Event | |
Event (int prio=0) | |
void | setLoggable (bool val) |
Definition at line 34 of file BundleReceivedEvent.h.
|
virtual |
Definition at line 41 of file BundleReceivedEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 58 of file BundleReceivedEvent.cpp.
|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 53 of file BundleReceivedEvent.cpp.
Referenced by dtn::api::EventConnection::raiseEvent().
|
static |
Definition at line 47 of file BundleReceivedEvent.cpp.
References dtn::core::EventDispatcher< E >::queue().
Referenced by dtn::daemon::CapsuleWorker::callbackBundleReceived(), dtn::core::FragmentManager::componentRun(), dtn::net::UDPConvergenceLayer::componentRun(), dtn::api::Registration::processIncomingBundle(), dtn::api::OrderedStreamHandler::put(), dtn::net::DatagramConnection::run(), dtn::net::LOWPANConnection::run(), dtn::net::DownloadThread::run(), and dtn::net::TCPConnection::run().
const dtn::data::Bundle dtn::net::BundleReceivedEvent::bundle |
Definition at line 48 of file BundleReceivedEvent.h.
Referenced by dtn::api::EventConnection::raiseEvent(), and dtn::daemon::NativeDaemon::raiseEvent().
|
static |
Definition at line 43 of file BundleReceivedEvent.h.
const bool dtn::net::BundleReceivedEvent::fromlocal |
Definition at line 49 of file BundleReceivedEvent.h.
Referenced by dtn::api::EventConnection::raiseEvent(), and dtn::daemon::NativeDaemon::raiseEvent().
const dtn::data::EID dtn::net::BundleReceivedEvent::peer |
Definition at line 47 of file BundleReceivedEvent.h.
Referenced by dtn::api::EventConnection::raiseEvent(), and dtn::daemon::NativeDaemon::raiseEvent().