Classes | Public Member Functions | Protected Member Functions | Friends

ibrcommon::NetLinkManager Class Reference

#include <NetLinkManager.h>

Inherits ibrcommon::LinkManager, and ibrcommon::JoinableThread.

Collaboration diagram for ibrcommon::NetLinkManager:
Collaboration graph
[legend]

List of all members.

Classes

class  parse_exception

Public Member Functions

virtual ~NetLinkManager ()
const std::string getInterface (int index) const
const std::list< vaddressgetAddressList (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

Detailed Description

Definition at line 27 of file NetLinkManager.h.


Constructor & Destructor Documentation

ibrcommon::NetLinkManager::~NetLinkManager (  )  [virtual]

Definition at line 52 of file NetLinkManager.cpp.

References ibrcommon::JoinableThread::join(), and ibrcommon::JoinableThread::stop().

Here is the call graph for this function:


Member Function Documentation

bool ibrcommon::NetLinkManager::__cancellation (  )  [protected, virtual]

Reimplemented from ibrcommon::Thread.

Definition at line 97 of file NetLinkManager.cpp.

References ibrcommon::Thread::interrupt().

Here is the call graph for this function:

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.


Friends And Related Function Documentation

friend class LinkManager [friend]

Definition at line 29 of file NetLinkManager.h.


The documentation for this class was generated from the following files: