| 108 | } |
| 109 | |
| 110 | bool DiscoveryService::Start() { |
| 111 | bool anyFailed = false; |
| 112 | |
| 113 | // Install all |
| 114 | for (const ComRef<IDiscoveryListener>& listener : listeners) { |
| 115 | if (!listener->Start()) { |
| 116 | anyFailed = true; |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | // OK |
| 121 | return !anyFailed; |
| 122 | } |
| 123 | |
| 124 | bool DiscoveryService::Stop() { |
| 125 | bool anyFailed = false; |
no outgoing calls
no test coverage detected