| 392 | } |
| 393 | |
| 394 | int16_t FlowController::applyUpdate(const std::string &source, const std::string &configuration, bool persist) { |
| 395 | if (applyConfiguration(source, configuration)) { |
| 396 | if (persist) { |
| 397 | flow_configuration_->persist(configuration); |
| 398 | } |
| 399 | return 0; |
| 400 | } else { |
| 401 | return -1; |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | int16_t FlowController::clearConnection(const std::string &connection) { |
| 406 | if (root_ != nullptr) { |
no test coverage detected