IBR-DTNSuite
0.8
|
#include <NodeEvent.h>
Public Member Functions | |
virtual | ~NodeEvent () |
EventNodeAction | getAction () const |
const Node & | getNode () const |
const std::string | getName () const |
std::string | toString () const |
Static Public Member Functions | |
static void | raise (const Node &n, const EventNodeAction action) |
Static Public Attributes | |
static const std::string | className = "NodeEvent" |
Definition at line 27 of file NodeEvent.h.
dtn::core::NodeEvent::~NodeEvent | ( | ) | [virtual] |
Definition at line 26 of file NodeEvent.cpp.
Definition at line 34 of file NodeEvent.cpp.
Referenced by dtn::routing::StaticRoutingExtension::notify(), dtn::routing::NodeHandshakeExtension::notify(), dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::FloodRoutingExtension::notify(), dtn::routing::EpidemicRoutingExtension::notify(), dtn::routing::ProphetRoutingExtension::notify(), dtn::core::EventDebugger::raiseEvent(), dtn::daemon::Notifier::raiseEvent(), dtn::daemon::DTNTPWorker::raiseEvent(), dtn::api::EventConnection::raiseEvent(), dtn::net::FileConvergenceLayer::raiseEvent(), dtn::api::ApiServer::raiseEvent(), dtn::net::ConnectionManager::raiseEvent(), dtn::daemon::StatisticLogger::raiseEvent(), and dtn::dht::DHTNameService::raiseEvent().
const string dtn::core::NodeEvent::getName | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 39 of file NodeEvent.cpp.
References className.
Referenced by dtn::api::EventConnection::raiseEvent().
const Node & dtn::core::NodeEvent::getNode | ( | ) | const |
Definition at line 29 of file NodeEvent.cpp.
Referenced by dtn::net::TCPConnection::match(), dtn::routing::StaticRoutingExtension::notify(), dtn::routing::NodeHandshakeExtension::notify(), dtn::routing::NeighborRoutingExtension::notify(), dtn::routing::FloodRoutingExtension::notify(), dtn::routing::EpidemicRoutingExtension::notify(), dtn::routing::ProphetRoutingExtension::notify(), dtn::core::EventDebugger::raiseEvent(), dtn::daemon::Notifier::raiseEvent(), dtn::daemon::DTNTPWorker::raiseEvent(), dtn::api::EventConnection::raiseEvent(), dtn::net::FileConvergenceLayer::raiseEvent(), dtn::api::ApiServer::raiseEvent(), dtn::net::ConnectionManager::raiseEvent(), and dtn::dht::DHTNameService::raiseEvent().
void dtn::core::NodeEvent::raise | ( | const Node & | n, |
const EventNodeAction | action | ||
) | [static] |
Definition at line 21 of file NodeEvent.cpp.
Referenced by dtn::net::ConnectionManager::addConnection(), dtn::net::DatagramConvergenceLayer::componentRun(), dtn::net::ConnectionManager::discovered(), dtn::net::ConnectionManager::raiseEvent(), and dtn::net::DiscoveryAgent::received().
string dtn::core::NodeEvent::toString | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 44 of file NodeEvent.cpp.
const string dtn::core::NodeEvent::className = "NodeEvent" [static] |
Definition at line 40 of file NodeEvent.h.
Referenced by dtn::daemon::Notifier::componentDown(), dtn::net::FileConvergenceLayer::componentDown(), dtn::daemon::StatisticLogger::componentDown(), dtn::api::ApiServer::componentDown(), dtn::routing::BaseRouter::componentDown(), dtn::dht::DHTNameService::componentRun(), dtn::daemon::Notifier::componentUp(), dtn::net::FileConvergenceLayer::componentUp(), dtn::daemon::StatisticLogger::componentUp(), dtn::api::ApiServer::componentUp(), dtn::routing::BaseRouter::componentUp(), dtn::daemon::DTNTPWorker::DTNTPWorker(), dtn::api::EventConnection::finally(), getName(), dtn::api::EventConnection::setup(), and dtn::daemon::DTNTPWorker::~DTNTPWorker().