IBR-DTNSuite
0.10
|
#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="") |
![]() | |
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) |
![]() | |
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 () |
![]() | |
JoinableThread (size_t size=DEFAULT_STACKSIZE) | |
![]() | |
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 LinkManager & | getInstance () |
static void | initialize () |
![]() | |
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 () |
![]() | |
ibrcommon::Mutex | _listener_mutex |
std::map < ibrcommon::vinterface, std::set < LinkManager::EventCallback * > > | _listener |
Definition at line 39 of file NetLinkManager.h.
|
virtual |
Definition at line 334 of file NetLinkManager.cpp.
|
protectedvirtual |
Implements ibrcommon::Thread.
Definition at line 365 of file NetLinkManager.cpp.
References _running.
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 356 of file NetLinkManager.cpp.
|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 392 of file NetLinkManager.cpp.
References ibrcommon::add_addr_to_list(), and ibrcommon::vinterface::toString().
|
virtual |
Implements ibrcommon::LinkManager.
Definition at line 418 of file NetLinkManager.cpp.
|
protectedvirtual |
Abstract interface for thread context run method.
Implements ibrcommon::Thread.
Definition at line 371 of file NetLinkManager.cpp.
References _running, ibrcommon::LogLevel::error, IBRCOMMON_LOGGER_ENDL, and IBRCOMMON_LOGGER_TAG.
|
virtual |
Reimplemented from ibrcommon::LinkManager.
Definition at line 347 of file NetLinkManager.cpp.
|
friend |
Definition at line 41 of file NetLinkManager.h.