#include <ndn-cxx/net/network-monitor.hpp>
Public Types | |
using | Error = NetworkMonitor::Error |
Public Member Functions | |
virtual | ~NetworkMonitorImpl ()=default |
virtual uint32_t | getCapabilities () const =0 |
virtual shared_ptr< const NetworkInterface > | getNetworkInterface (const std::string &) const =0 |
virtual std::vector< shared_ptr< const NetworkInterface > > | listNetworkInterfaces () const =0 |
Public Attributes | |
util::Signal< NetworkMonitorImpl > | onEnumerationCompleted |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceAdded |
util::Signal< NetworkMonitorImpl, shared_ptr< const NetworkInterface > > | onInterfaceRemoved |
util::Signal< NetworkMonitorImpl > | onNetworkStateChanged |
Protected Member Functions | |
template<typename... TArgs> | |
void | emit_onEnumerationCompleted (const TArgs &...args) |
template<typename... TArgs> | |
void | emit_onInterfaceAdded (const TArgs &...args) |
template<typename... TArgs> | |
void | emit_onInterfaceRemoved (const TArgs &...args) |
template<typename... TArgs> | |
void | emit_onNetworkStateChanged (const TArgs &...args) |
Static Protected Member Functions | |
static shared_ptr< NetworkInterface > | makeNetworkInterface () |
Definition at line 131 of file network-monitor.hpp.
Definition at line 134 of file network-monitor.hpp.
|
virtualdefault |
|
inlineprotected |
Definition at line 159 of file network-monitor.hpp.
|
inlineprotected |
Definition at line 160 of file network-monitor.hpp.
|
inlineprotected |
Definition at line 161 of file network-monitor.hpp.
|
inlineprotected |
Definition at line 162 of file network-monitor.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
staticprotected |
Definition at line 91 of file network-monitor.cpp.
util::Signal<NetworkMonitorImpl> ndn::net::NetworkMonitorImpl::onEnumerationCompleted |
Definition at line 153 of file network-monitor.hpp.
util::Signal<NetworkMonitorImpl, shared_ptr<const NetworkInterface> > ndn::net::NetworkMonitorImpl::onInterfaceAdded |
Definition at line 154 of file network-monitor.hpp.
util::Signal<NetworkMonitorImpl, shared_ptr<const NetworkInterface> > ndn::net::NetworkMonitorImpl::onInterfaceRemoved |
Definition at line 155 of file network-monitor.hpp.
util::Signal<NetworkMonitorImpl> ndn::net::NetworkMonitorImpl::onNetworkStateChanged |
Definition at line 156 of file network-monitor.hpp.