#include <network-monitor-impl-osx.hpp>
Public Types | |
using | Error = NetworkMonitor::Error |
Public Member Functions | |
NetworkMonitorImplOsx (boost::asio::io_service &io) | |
~NetworkMonitorImplOsx () | |
uint32_t | getCapabilities () const final |
shared_ptr< const NetworkInterface > | getNetworkInterface (const std::string &ifname) const final |
std::vector< shared_ptr< const NetworkInterface > > | listNetworkInterfaces () const final |
Public Member Functions inherited from ndn::net::NetworkMonitorImpl | |
virtual | ~NetworkMonitorImpl ()=default |
Additional Inherited Members | |
Public Attributes inherited from ndn::net::NetworkMonitorImpl | |
util::Signal< NetworkMonitorImpl > | onEnumerationCompleted |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceAdded |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceRemoved |
util::Signal< NetworkMonitorImpl > | onNetworkStateChanged |
Static Protected Member Functions inherited from ndn::net::NetworkMonitorImpl | |
static shared_ptr< NetworkInterface > | makeNetworkInterface () |
Definition at line 46 of file network-monitor-impl-osx.hpp.
Definition at line 49 of file network-monitor-impl-osx.hpp.
ndn::net::NetworkMonitorImplOsx::NetworkMonitorImplOsx | ( | boost::asio::io_service & | io | ) |
Definition at line 104 of file network-monitor-impl-osx.cpp.
References ndn::util::CFReleaser< T >::get().
ndn::net::NetworkMonitorImplOsx::~NetworkMonitorImplOsx | ( | ) |
Definition at line 149 of file network-monitor-impl-osx.cpp.
References ndn::util::CFReleaser< T >::get().
|
inlinefinalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 56 of file network-monitor-impl-osx.hpp.
References ndn::net::NetworkMonitor::CAP_ADDR_ADD_REMOVE, ndn::net::NetworkMonitor::CAP_ENUM, ndn::net::NetworkMonitor::CAP_IF_ADD_REMOVE, ndn::net::NetworkMonitor::CAP_STATE_CHANGE, getNetworkInterface(), listNetworkInterfaces(), and websocketpp::transport::asio::socket::error::socket.
|
finalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 158 of file network-monitor-impl-osx.cpp.
Referenced by getCapabilities().
|
finalvirtual |
Implements ndn::net::NetworkMonitorImpl.
Definition at line 165 of file network-monitor-impl-osx.cpp.
References emitSignal, ndn::net::NetworkMonitorImpl::onEnumerationCompleted, and ndn::net::NetworkMonitorImpl::onNetworkStateChanged.
Referenced by getCapabilities().