MCPcopy Create free account
hub / github.com/aria2/aria2 / SeedCheckCommand

Method SeedCheckCommand

src/SeedCheckCommand.cc:48–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46namespace aria2 {
47
48SeedCheckCommand::SeedCheckCommand(cuid_t cuid, RequestGroup* requestGroup,
49 DownloadEngine* e,
50 std::unique_ptr<SeedCriteria> seedCriteria)
51 : Command(cuid),
52 requestGroup_(requestGroup),
53 e_(e),
54 seedCriteria_(std::move(seedCriteria)),
55 checkStarted_(false)
56{
57 setStatusRealtime();
58 requestGroup_->increaseNumCommand();
59}
60
61SeedCheckCommand::~SeedCheckCommand() { requestGroup_->decreaseNumCommand(); }
62

Callers

nothing calls this directly

Calls 1

increaseNumCommandMethod · 0.80

Tested by

no test coverage detected