24 #include "ndn-cxx-config.hpp"
26 #if defined(NDN_CXX_HAVE_COREFOUNDATION_COREFOUNDATION_H)
28 #elif defined(NDN_CXX_HAVE_RTNETLINK)
35 class NetworkMonitor::Impl
40 BOOST_THROW_EXCEPTION(
Error(
"Network monitoring is not supported on this platform"));
53 : m_impl(new
Impl(*this, io))
Impl(NetworkMonitor &nm, boost::asio::io_service &io)
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.
~NetworkMonitor()
Terminate network state monitoring.