| 37 | namespace c2 { |
| 38 | |
| 39 | C2Client::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 | |
| 49 | void C2Client::stopC2() { |
| 50 | if (c2_agent_) { |
nothing calls this directly
no outgoing calls
no test coverage detected