22 #ifndef NDN_UTIL_NETWORK_MONITOR_HPP
23 #define NDN_UTIL_NETWORK_MONITOR_HPP
56 class Error :
public std::runtime_error
61 :
std::runtime_error(what)
83 std::unique_ptr<Impl> m_impl;
89 #endif // NDN_UTIL_NETWORK_MONITOR_HPP
Error(const std::string &what)
Copyright (c) 2013-2016 Regents of the University of California.
Copyright (c) 2013-2016 Regents of the University of California.
Network state change monitor.
NetworkMonitor(boost::asio::io_service &io)
Construct instance and start monitoring for network state changes.
Signal< NetworkMonitor > onNetworkStateChanged
~NetworkMonitor()
Terminate network state monitoring.