ndn::util::NetworkMonitor::Impl Class Reference

#include <network-monitor-impl-noop.hpp>

Public Member Functions

 Impl (NetworkMonitor &nm, boost::asio::io_service &io)
 
uint32_t getCapabilities () const
 
shared_ptr< NetworkInterfacegetNetworkInterface (const std::string &) const
 
std::vector< shared_ptr< NetworkInterface > > listNetworkInterfaces () const
 
 Impl (NetworkMonitor &nm, boost::asio::io_service &io)
 
 ~Impl ()
 
uint32_t getCapabilities () const
 
shared_ptr< NetworkInterfacegetNetworkInterface (const std::string &ifname) const
 
std::vector< shared_ptr< NetworkInterface > > listNetworkInterfaces () const
 
 Impl (NetworkMonitor &nm, boost::asio::io_service &io)
 initialize netlink socket and start enumerating interfaces More...
 
 ~Impl ()
 
uint32_t getCapabilities () const
 
shared_ptr< NetworkInterfacegetNetworkInterface (const std::string &ifname) const
 
std::vector< shared_ptr< NetworkInterface > > listNetworkInterfaces () const
 

Static Public Member Functions

static void afterNotificationCenterEvent (CFNotificationCenterRef center, void *observer, CFStringRef name, const void *object, CFDictionaryRef userInfo)
 

Detailed Description

Definition at line 32 of file network-monitor-impl-noop.hpp.

Constructor & Destructor Documentation

ndn::util::NetworkMonitor::Impl::Impl ( NetworkMonitor nm,
boost::asio::io_service &  io 
)
inline

Definition at line 35 of file network-monitor-impl-noop.hpp.

ndn::util::NetworkMonitor::Impl::Impl ( NetworkMonitor nm,
boost::asio::io_service &  io 
)
ndn::util::NetworkMonitor::Impl::~Impl ( )

Definition at line 59 of file network-monitor-impl-rtnl.cpp.

ndn::util::NetworkMonitor::Impl::Impl ( NetworkMonitor nm,
boost::asio::io_service &  io 
)

initialize netlink socket and start enumerating interfaces

ndn::util::NetworkMonitor::Impl::~Impl ( )

Member Function Documentation

static void ndn::util::NetworkMonitor::Impl::afterNotificationCenterEvent ( CFNotificationCenterRef  center,
void *  observer,
CFStringRef  name,
const void *  object,
CFDictionaryRef  userInfo 
)
static
uint32_t ndn::util::NetworkMonitor::Impl::getCapabilities ( ) const
inline

Definition at line 40 of file network-monitor-impl-noop.hpp.

uint32_t ndn::util::NetworkMonitor::Impl::getCapabilities ( ) const
inline
Todo:
#3817 change to CAP_ENUM | CAP_IF_ADD_REMOVE | CAP_STATE_CHANGE | CAP_ADDR_ADD_REMOVE

Definition at line 49 of file network-monitor-impl-osx.hpp.

uint32_t ndn::util::NetworkMonitor::Impl::getCapabilities ( ) const
inline

Definition at line 57 of file network-monitor-impl-rtnl.hpp.

shared_ptr< NetworkInterface > ndn::util::NetworkMonitor::Impl::getNetworkInterface ( const std::string &  ifname) const
inline

Definition at line 46 of file network-monitor-impl-noop.hpp.

shared_ptr<NetworkInterface> ndn::util::NetworkMonitor::Impl::getNetworkInterface ( const std::string &  ifname) const
shared_ptr<NetworkInterface> ndn::util::NetworkMonitor::Impl::getNetworkInterface ( const std::string &  ifname) const
std::vector< shared_ptr< NetworkInterface > > ndn::util::NetworkMonitor::Impl::listNetworkInterfaces ( ) const
inline

Definition at line 52 of file network-monitor-impl-noop.hpp.

std::vector<shared_ptr<NetworkInterface> > ndn::util::NetworkMonitor::Impl::listNetworkInterfaces ( ) const
std::vector<shared_ptr<NetworkInterface> > ndn::util::NetworkMonitor::Impl::listNetworkInterfaces ( ) const