network-monitor-impl-noop.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
24 #ifndef NDN_UTIL_NETWORK_MONITOR_IMPL_NOOP_HPP
25 #define NDN_UTIL_NETWORK_MONITOR_IMPL_NOOP_HPP
26 
27 #include "../network-monitor.hpp"
28 
29 namespace ndn {
30 namespace util {
31 
33 {
34 public:
35  Impl(NetworkMonitor& nm, boost::asio::io_service& io)
36  {
37  }
38 
39  uint32_t
41  {
43  }
44 
45  shared_ptr<NetworkInterface>
46  getNetworkInterface(const std::string&) const
47  {
48  return {};
49  }
50 
51  std::vector<shared_ptr<NetworkInterface>>
53  {
54  return {};
55  }
56 };
57 
58 } // namespace util
59 } // namespace ndn
60 
61 #endif // NDN_UTIL_NETWORK_MONITOR_IMPL_NOOP_HPP
Impl(NetworkMonitor &nm, boost::asio::io_service &io)
Copyright (c) 2013-2016 Regents of the University of California.
Definition: common.hpp:75
Network interfaces monitor.
std::vector< shared_ptr< NetworkInterface > > listNetworkInterfaces() const
shared_ptr< NetworkInterface > getNetworkInterface(const std::string &) const
NetworkMonitor is not supported and is a no-op.