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

Method ActivePeerConnectionCommand

src/ActivePeerConnectionCommand.cc:59–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57namespace aria2 {
58
59ActivePeerConnectionCommand::ActivePeerConnectionCommand(
60 cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e,
61 std::chrono::seconds interval)
62 : Command(cuid),
63 requestGroup_(requestGroup),
64 interval_(std::move(interval)),
65 e_(e),
66 numNewConnection_(5)
67{
68 requestGroup_->increaseNumCommand();
69}
70
71ActivePeerConnectionCommand::~ActivePeerConnectionCommand()
72{

Callers

nothing calls this directly

Calls 1

increaseNumCommandMethod · 0.80

Tested by

no test coverage detected