|
IBR-DTNSuite
0.10
|
#include <P2PDialupEvent.h>


Public Types | |
| enum | p2p_event_type { INTERFACE_UP, INTERFACE_DOWN } |
Public Member Functions | |
| virtual | ~P2PDialupEvent () |
| 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 (p2p_event_type, const ibrcommon::vinterface &) |
Public Attributes | |
| const p2p_event_type | type |
| const ibrcommon::vinterface | iface |
Public Attributes inherited from dtn::core::Event | |
| const int | prio |
Static Public Attributes | |
| static const std::string | className = "P2PDialupEvent" |
Additional Inherited Members | |
Protected Member Functions inherited from dtn::core::Event | |
| Event (int prio=0) | |
| void | setLoggable (bool val) |
Definition at line 18 of file P2PDialupEvent.h.
| Enumerator | |
|---|---|
| INTERFACE_UP | |
| INTERFACE_DOWN | |
Definition at line 21 of file P2PDialupEvent.h.
|
virtual |
Definition at line 21 of file P2PDialupEvent.cpp.
|
virtual |
Get a describing message for this event
Implements dtn::core::Event.
Definition at line 38 of file P2PDialupEvent.cpp.
References iface, INTERFACE_DOWN, INTERFACE_UP, ibrcommon::vinterface::toString(), and type.

|
virtual |
Get the name of this event.
Implements dtn::core::Event.
Definition at line 32 of file P2PDialupEvent.cpp.
References className.
|
static |
Definition at line 26 of file P2PDialupEvent.cpp.
References dtn::core::EventDispatcher< E >::raise().
Referenced by dtn::net::P2PDialupExtension::fireInterfaceDown(), and dtn::net::P2PDialupExtension::fireInterfaceUp().

|
static |
Definition at line 32 of file P2PDialupEvent.h.
Referenced by getName().
| const ibrcommon::vinterface dtn::net::P2PDialupEvent::iface |
Definition at line 37 of file P2PDialupEvent.h.
Referenced by getMessage(), dtn::net::IPNDAgent::raiseEvent(), and dtn::net::TCPConvergenceLayer::raiseEvent().
| const p2p_event_type dtn::net::P2PDialupEvent::type |
Definition at line 36 of file P2PDialupEvent.h.
Referenced by getMessage(), dtn::net::IPNDAgent::raiseEvent(), and dtn::net::TCPConvergenceLayer::raiseEvent().