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