IBR-DTNSuite  0.12
ibrcommon::Win32LinkManager Class Reference

#include <Win32LinkManager.h>

Inheritance diagram for ibrcommon::Win32LinkManager:
Inheritance graph
Collaboration diagram for ibrcommon::Win32LinkManager:
Collaboration graph

Public Member Functions

 Win32LinkManager ()
 
virtual ~Win32LinkManager ()
 
void up () throw ()
 
void down () throw ()
 
const vinterface getInterface (int index) const
 
const std::list< vaddressgetAddressList (const vinterface &iface, const std::string &scope="")
 
std::set< ibrcommon::vinterfacegetInterfaces () const
 
virtual void addEventListener (const vinterface &iface, LinkManager::EventCallback *cb) throw ()
 
virtual void removeEventListener (const vinterface &, LinkManager::EventCallback *) throw ()
 
virtual void removeEventListener (LinkManager::EventCallback *) throw ()
 
- Public Member Functions inherited from ibrcommon::LinkManager
virtual ~LinkManager ()
 
void raiseEvent (const LinkEvent &lme)
 
std::set< vinterfacegetMonitoredInterfaces ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ibrcommon::LinkManager
static LinkManagergetInstance ()
 
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
 
- 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
 

Detailed Description

Definition at line 24 of file Win32LinkManager.h.

Constructor & Destructor Documentation

ibrcommon::Win32LinkManager::Win32LinkManager ( )

Definition at line 23 of file Win32LinkManager.cpp.

ibrcommon::Win32LinkManager::~Win32LinkManager ( )
virtual

Definition at line 27 of file Win32LinkManager.cpp.

References down().

Here is the call graph for this function:

Member Function Documentation

void ibrcommon::Win32LinkManager::addEventListener ( const vinterface iface,
LinkManager::EventCallback cb 
)
throw (
)
virtual

Reimplemented from ibrcommon::LinkManager.

Definition at line 188 of file Win32LinkManager.cpp.

References ibrcommon::LinkManager::addEventListener().

Here is the call graph for this function:

void ibrcommon::Win32LinkManager::down ( )
throw (
)
virtual

Reimplemented from ibrcommon::LinkManager.

Definition at line 36 of file Win32LinkManager.cpp.

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

Referenced by ~Win32LinkManager().

Here is the call graph for this function:

const std::list< vaddress > ibrcommon::Win32LinkManager::getAddressList ( const vinterface iface,
const std::string &  scope = "" 
)
virtual

Implements ibrcommon::LinkManager.

Definition at line 122 of file Win32LinkManager.cpp.

References ibrcommon::vaddress::SCOPE_GLOBAL, ibrcommon::vaddress::SCOPE_LINKLOCAL, and ibrcommon::vinterface::toString().

Here is the call graph for this function:

const vinterface ibrcommon::Win32LinkManager::getInterface ( int  index) const
virtual

Implements ibrcommon::LinkManager.

Definition at line 93 of file Win32LinkManager.cpp.

std::set< ibrcommon::vinterface > ibrcommon::Win32LinkManager::getInterfaces ( ) const

Definition at line 168 of file Win32LinkManager.cpp.

Referenced by dtn::daemon::Configuration::params().

void ibrcommon::Win32LinkManager::removeEventListener ( const vinterface iface,
LinkManager::EventCallback cb 
)
throw (
)
virtual

Reimplemented from ibrcommon::LinkManager.

Definition at line 197 of file Win32LinkManager.cpp.

References ibrcommon::LinkManager::removeEventListener().

Here is the call graph for this function:

void ibrcommon::Win32LinkManager::removeEventListener ( LinkManager::EventCallback cb)
throw (
)
virtual

Reimplemented from ibrcommon::LinkManager.

Definition at line 206 of file Win32LinkManager.cpp.

References ibrcommon::LinkManager::removeEventListener().

Here is the call graph for this function:

void ibrcommon::Win32LinkManager::up ( )
throw (
)
virtual

Reimplemented from ibrcommon::LinkManager.

Definition at line 31 of file Win32LinkManager.cpp.

References ibrcommon::JoinableThread::start().

Here is the call graph for this function:


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