22 #ifndef NDN_CXX_NET_NETWORK_MONITOR_STUB_HPP
23 #define NDN_CXX_NET_NETWORK_MONITOR_STUB_HPP
30 class NetworkMonitorImplStub;
45 static shared_ptr<NetworkInterface>
81 NetworkMonitorImplStub&
a stub NetworkMonitor for unit testing
NetworkMonitorStub(uint32_t capabilities)
constructor
void removeInterface(const std::string &ifname)
emit the onInterfaceRemoved signal and remove netif internally
void emitEnumerationCompleted()
emit the onEnumerationCompleted signal
static shared_ptr< NetworkInterface > makeNetworkInterface()
create a NetworkInterface instance
void addInterface(shared_ptr< NetworkInterface > netif)
emit the onInterfaceAdded signal and add netif internally
Network interface monitor.