#include <NetLinkManager.h>
Inherits ibrcommon::LinkManager, and ibrcommon::JoinableThread.

Classes | |
| class | parse_exception |
Public Member Functions | |
| virtual | ~NetLinkManager () |
| const std::string | getInterface (int index) const |
| const std::list< vaddress > | getAddressList (const vinterface &iface, const vaddress::Family f) |
| void | registerInterfaceEvent (const vinterface &iface, LinkManager::EventCallback *) |
| void | unregisterInterfaceEvent (const vinterface &iface, LinkManager::EventCallback *) |
| void | unregisterAllEvents (LinkManager::EventCallback *cb) |
Protected Member Functions | |
| void | run () |
| bool | __cancellation () |
Friends | |
| class | LinkManager |
Definition at line 27 of file NetLinkManager.h.
| ibrcommon::NetLinkManager::~NetLinkManager | ( | ) | [virtual] |
Definition at line 52 of file NetLinkManager.cpp.
References ibrcommon::JoinableThread::join(), and ibrcommon::JoinableThread::stop().

| bool ibrcommon::NetLinkManager::__cancellation | ( | ) | [protected, virtual] |
Reimplemented from ibrcommon::Thread.
Definition at line 97 of file NetLinkManager.cpp.
References ibrcommon::Thread::interrupt().

| const std::list< vaddress > ibrcommon::NetLinkManager::getAddressList | ( | const vinterface & | iface, | |
| const vaddress::Family | f | |||
| ) |
Definition at line 149 of file NetLinkManager.cpp.
References ibrcommon::add_addr_to_list(), ibrcommon::vinterface::toString(), and ibrcommon::vaddress::VADDRESS_UNSPEC.

| const std::string ibrcommon::NetLinkManager::getInterface | ( | int | index | ) | const |
Definition at line 181 of file NetLinkManager.cpp.
| void ibrcommon::NetLinkManager::registerInterfaceEvent | ( | const vinterface & | iface, | |
| LinkManager::EventCallback * | cb | |||
| ) |
Definition at line 260 of file NetLinkManager.cpp.
| void ibrcommon::NetLinkManager::run | ( | ) | [protected, virtual] |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 106 of file NetLinkManager.cpp.
References ibrcommon::vsocket::add(), ibrcommon::Thread::attr, ibrcommon::Thread::enable_interruption(), IBRCOMMON_LOGGER_DEBUG, ibrcommon::select(), and ibrcommon::vinterface::toString().

| void ibrcommon::NetLinkManager::unregisterAllEvents | ( | LinkManager::EventCallback * | cb | ) |
Definition at line 284 of file NetLinkManager.cpp.
| void ibrcommon::NetLinkManager::unregisterInterfaceEvent | ( | const vinterface & | iface, | |
| LinkManager::EventCallback * | cb | |||
| ) |
Definition at line 269 of file NetLinkManager.cpp.
friend class LinkManager [friend] |
Definition at line 29 of file NetLinkManager.h.
1.7.1