IBR-DTNSuite
0.12
|
#include <Win32LinkManager.h>
Public Member Functions | |
Win32LinkManager () | |
virtual | ~Win32LinkManager () |
void | up () throw () |
void | down () throw () |
const vinterface | getInterface (int index) const |
const std::list< vaddress > | getAddressList (const vinterface &iface, const std::string &scope="") |
std::set< ibrcommon::vinterface > | getInterfaces () const |
virtual void | addEventListener (const vinterface &iface, LinkManager::EventCallback *cb) throw () |
virtual void | removeEventListener (const vinterface &, LinkManager::EventCallback *) throw () |
virtual void | removeEventListener (LinkManager::EventCallback *) throw () |
Public Member Functions inherited from ibrcommon::LinkManager | |
virtual | ~LinkManager () |
void | raiseEvent (const LinkEvent &lme) |
std::set< vinterface > | getMonitoredInterfaces () |
Additional Inherited Members | |
Static Public Member Functions inherited from ibrcommon::LinkManager | |
static LinkManager & | getInstance () |
static void | initialize () |
static void | setLinkRequestInterval (size_t interval) |
static size_t | getLinkRequestInterval () |
Protected Types inherited from ibrcommon::LinkManager | |
typedef std::set < LinkManager::EventCallback * > | callback_set |
typedef std::map < ibrcommon::vinterface, callback_set > | listener_map |
Protected Attributes inherited from ibrcommon::LinkManager | |
ibrcommon::Mutex | _listener_mutex |
listener_map | _listener |
Static Protected Attributes inherited from ibrcommon::LinkManager | |
static size_t | _link_request_interval = 5000 |
Definition at line 24 of file Win32LinkManager.h.
ibrcommon::Win32LinkManager::Win32LinkManager | ( | ) |
Definition at line 23 of file Win32LinkManager.cpp.
|
virtual |
Definition at line 27 of file Win32LinkManager.cpp.
References down().
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 188 of file Win32LinkManager.cpp.
References ibrcommon::LinkManager::addEventListener().
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 36 of file Win32LinkManager.cpp.
References ibrcommon::JoinableThread::join(), and ibrcommon::JoinableThread::stop().
Referenced by ~Win32LinkManager().
|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 122 of file Win32LinkManager.cpp.
References ibrcommon::vaddress::SCOPE_GLOBAL, ibrcommon::vaddress::SCOPE_LINKLOCAL, and ibrcommon::vinterface::toString().
|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 93 of file Win32LinkManager.cpp.
std::set< ibrcommon::vinterface > ibrcommon::Win32LinkManager::getInterfaces | ( | ) | const |
Definition at line 168 of file Win32LinkManager.cpp.
Referenced by dtn::daemon::Configuration::params().
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 197 of file Win32LinkManager.cpp.
References ibrcommon::LinkManager::removeEventListener().
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 206 of file Win32LinkManager.cpp.
References ibrcommon::LinkManager::removeEventListener().
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 31 of file Win32LinkManager.cpp.
References ibrcommon::JoinableThread::start().