MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / stopComponent

Function stopComponent

controller/Controller.h:47–49  ·  view source on GitHub ↗

* Stops a stopped component * @param socket socket unique ptr. * @param op operation to perform */

Source from the content-addressed store, hash-verified

45 * @param op operation to perform
46 */
47bool 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.

Callers 2

mainFunction · 0.85

Calls 1

sendSingleCommandFunction · 0.85

Tested by

no test coverage detected