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

Method C2Client

libminifi/src/c2/C2Client.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37namespace c2 {
38
39C2Client::C2Client(
40 std::shared_ptr<Configure> configuration, std::shared_ptr<core::Repository> provenance_repo,
41 std::shared_ptr<core::Repository> flow_file_repo, std::shared_ptr<core::ContentRepository> content_repo,
42 std::unique_ptr<core::FlowConfiguration> flow_configuration, std::shared_ptr<utils::file::FileSystem> filesystem,
43 std::shared_ptr<logging::Logger> logger)
44 : core::Flow(std::move(provenance_repo), std::move(flow_file_repo), std::move(content_repo), std::move(flow_configuration)),
45 configuration_(std::move(configuration)),
46 filesystem_(std::move(filesystem)),
47 logger_(std::move(logger)) {}
48
49void C2Client::stopC2() {
50 if (c2_agent_) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected