IBR-DTNSuite
0.10
|
#include <LinkEvent.h>
Public Types | |
enum | Action { ACTION_UNKOWN, ACTION_LINK_RUNNING, ACTION_LINK_UP, ACTION_LINK_DOWN, ACTION_ADDRESS_REMOVED, ACTION_ADDRESS_ADDED } |
Public Member Functions | |
LinkEvent (Action action, const vinterface &iface, const vaddress &addr) | |
virtual | ~LinkEvent () |
virtual const vinterface & | getInterface () const |
virtual const vaddress & | getAddress () const |
virtual Action | getAction () const |
virtual std::string | toString () const |
Definition at line 16 of file LinkEvent.h.
Enumerator | |
---|---|
ACTION_UNKOWN | |
ACTION_LINK_RUNNING | |
ACTION_LINK_UP | |
ACTION_LINK_DOWN | |
ACTION_ADDRESS_REMOVED | |
ACTION_ADDRESS_ADDED |
Definition at line 19 of file LinkEvent.h.
ibrcommon::LinkEvent::LinkEvent | ( | Action | action, |
const vinterface & | iface, | ||
const vaddress & | addr | ||
) |
Definition at line 13 of file LinkEvent.cpp.
|
virtual |
Definition at line 17 of file LinkEvent.cpp.
|
virtual |
Definition at line 30 of file LinkEvent.cpp.
Referenced by dtn::net::IPNDAgent::eventNotify(), dtn::net::UDPConvergenceLayer::eventNotify(), and dtn::net::TCPConvergenceLayer::eventNotify().
|
virtual |
Definition at line 25 of file LinkEvent.cpp.
Referenced by dtn::net::IPNDAgent::eventNotify(), dtn::net::UDPConvergenceLayer::eventNotify(), and dtn::net::TCPConvergenceLayer::eventNotify().
|
virtual |
Definition at line 20 of file LinkEvent.cpp.
Referenced by dtn::net::IPNDAgent::eventNotify(), dtn::net::UDPConvergenceLayer::eventNotify(), dtn::net::TCPConvergenceLayer::eventNotify(), dtn::core::BundleCore::eventNotify(), and ibrcommon::LinkManager::raiseEvent().
|
virtual |
Definition at line 35 of file LinkEvent.cpp.
References ibrcommon::vinterface::toString(), and ibrcommon::vaddress::toString().
Referenced by ibrcommon::LinkManager::raiseEvent().