|
IBR-DTN
1.0.0
|
#include <NodeEvent.h>


Public Member Functions | |
| virtual | ~NodeEvent () |
| EventNodeAction | getAction () const |
| const Node & | getNode () const |
| 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 Node &n, const EventNodeAction action) |
Additional Inherited Members | |
Public Attributes inherited from dtn::core::Event | |
| const int | prio |
Protected Member Functions inherited from dtn::core::Event | |
| Event (int prio=0) | |
| void | setLoggable (bool val) |
Definition at line 42 of file NodeEvent.h.
|
virtual |
Definition at line 52 of file NodeEvent.cpp.
| EventNodeAction dtn::core::NodeEvent::getAction | ( | ) | const |
Definition at line 60 of file NodeEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 70 of file NodeEvent.cpp.
References dtn::core::NODE_AVAILABLE, dtn::core::NODE_DATA_ADDED, dtn::core::NODE_DATA_REMOVED, and dtn::core::Node::NODE_UNAVAILABLE.
|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 65 of file NodeEvent.cpp.
| const Node & dtn::core::NodeEvent::getNode | ( | ) | const |
Definition at line 55 of file NodeEvent.cpp.
Referenced by dtn::net::TCPConnection::match().
|
static |
Definition at line 47 of file NodeEvent.cpp.
References dtn::core::EventDispatcher< E >::queue().
Referenced by dtn::net::ConnectionManager::add(), and dtn::net::ConnectionManager::remove().
