|
IBR-DTNSuite
0.12
|
#include <NetLinkManager.h>


Classes | |
| class | parse_exception |
Public Member Functions | |
| virtual | ~NetLinkManager () |
| void | up () throw () |
| void | down () throw () |
| const vinterface | getInterface (int index) const |
| const std::list< vaddress > | getAddressList (const vinterface &iface, const std::string &scope="") |
Public Member Functions inherited from ibrcommon::LinkManager | |
| virtual | ~LinkManager () |
| virtual void | addEventListener (const vinterface &, LinkManager::EventCallback *) throw () |
| virtual void | removeEventListener (const vinterface &, LinkManager::EventCallback *) throw () |
| virtual void | removeEventListener (LinkManager::EventCallback *) throw () |
| void | raiseEvent (const LinkEvent &lme) |
| std::set< vinterface > | getMonitoredInterfaces () |
Public Member Functions inherited from ibrcommon::JoinableThread | |
| virtual | ~JoinableThread ()=0 |
| void | join (void) throw (ThreadException) |
| bool | isRunning (void) |
| void | start (int priority=0) throw (ThreadException) |
| void | stop () throw () |
Protected Member Functions | |
| void | run () throw () |
| void | __cancellation () throw () |
Protected Member Functions inherited from ibrcommon::JoinableThread | |
| JoinableThread (size_t size=DEFAULT_STACKSIZE) | |
Protected Member Functions inherited from ibrcommon::Thread | |
| virtual | ~Thread ()=0 |
| void | reset () throw (ThreadException) |
| virtual void | setup (void) throw () |
| virtual void | finally (void) throw () |
| bool | isFinalized () throw () |
| bool | operator== (const ibrcommon::Thread &other) |
| Thread (size_t stack=DEFAULT_STACKSIZE) | |
| int | kill (int sig) |
| void | cancel () throw () |
Friends | |
| class | LinkManager |
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 |
Static Protected Member Functions inherited from ibrcommon::Thread | |
| static size_t | getNumberOfProcessors () |
| static void | yield (void) |
| static void | sleep (time_t timeout) |
| static void | concurrency (int level) |
| static bool | equal (pthread_t thread1, pthread_t thread2) |
| static void * | __execute__ (void *obj) throw () |
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 38 of file NetLinkManager.h.
|
virtual |
Definition at line 343 of file NetLinkManager.cpp.
|
protectedvirtual | |||||||||||||
Implements ibrcommon::Thread.
Definition at line 374 of file NetLinkManager.cpp.
References _running.
|
virtual | |||||||||||||
Reimplemented from ibrcommon::LinkManager.
Definition at line 365 of file NetLinkManager.cpp.
|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 401 of file NetLinkManager.cpp.
References ibrcommon::add_addr_to_list(), and ibrcommon::vinterface::toString().

|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 427 of file NetLinkManager.cpp.
|
protectedvirtual | |||||||||||||
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 380 of file NetLinkManager.cpp.
References _running, ibrcommon::LogLevel::error, IBRCOMMON_LOGGER_ENDL, and IBRCOMMON_LOGGER_TAG.
|
virtual | |||||||||||||
Reimplemented from ibrcommon::LinkManager.
Definition at line 356 of file NetLinkManager.cpp.
|
friend |
Definition at line 40 of file NetLinkManager.h.