* Stops a stopped component * @param socket socket unique ptr. * @param op operation to perform */
| 45 | * @param op operation to perform |
| 46 | */ |
| 47 | bool stopComponent(std::unique_ptr<minifi::io::Socket> socket, std::string component) { |
| 48 | return sendSingleCommand(std::move(socket), minifi::c2::Operation::STOP, component); |
| 49 | } |
| 50 | |
| 51 | /** |
| 52 | * Starts a previously stopped component. |
no test coverage detected