22 #ifndef NDN_CXX_NET_NETWORK_MONITOR_STUB_HPP
23 #define NDN_CXX_NET_NETWORK_MONITOR_STUB_HPP
29 class NetworkMonitorImplStub;
47 static shared_ptr<NetworkInterface>
83 NetworkMonitorImplStub&
A dummy 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.