IBR-DTNSuite
0.8
|
#include <NetLinkManager.h>
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) |
Protected Member Functions | |
void | run () |
void | __cancellation () |
Friends | |
class | LinkManager |
Definition at line 51 of file NetLinkManager.h.
ibrcommon::NetLinkManager::~NetLinkManager | ( | ) | [virtual] |
Definition at line 67 of file NetLinkManager.cpp.
References ibrcommon::JoinableThread::join(), and ibrcommon::JoinableThread::stop().
void ibrcommon::NetLinkManager::__cancellation | ( | ) | [protected, virtual] |
Implements ibrcommon::Thread.
Definition at line 112 of file NetLinkManager.cpp.
References ibrcommon::vsocket::close().
const std::list< vaddress > ibrcommon::NetLinkManager::getAddressList | ( | const vinterface & | iface, |
const vaddress::Family | f | ||
) | [virtual] |
Implements ibrcommon::LinkManager.
Definition at line 171 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 [virtual] |
Implements ibrcommon::LinkManager.
Definition at line 227 of file NetLinkManager.cpp.
void ibrcommon::NetLinkManager::run | ( | ) | [protected, virtual] |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 119 of file NetLinkManager.cpp.
References ibrcommon::vsocket::add(), ibrcommon::LinkManagerEvent::EVENT_UNKOWN, ibrcommon::NetLinkManagerEvent::getType(), IBRCOMMON_LOGGER, IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, ibrcommon::NetLinkManagerEvent::isWirelessExtension(), ibrcommon::LinkManager::raiseEvent(), ibrcommon::vsocket::select(), and ibrcommon::NetLinkManagerEvent::toString().
friend class LinkManager [friend] |
Definition at line 53 of file NetLinkManager.h.