| 88 | } |
| 89 | |
| 90 | void NetworkConfigMonitor::clear() |
| 91 | { |
| 92 | ACE_GUARD(ACE_Thread_Mutex, g, mutex_); |
| 93 | |
| 94 | for (List::const_iterator pos = list_.begin(), limit = list_.end(); pos != limit; ++pos) { |
| 95 | writer_->unregister_instance(*pos); |
| 96 | } |
| 97 | |
| 98 | list_.clear(); |
| 99 | } |
| 100 | |
| 101 | void NetworkConfigMonitor::set(const NetworkInterfaceAddress& nia) |
| 102 | { |