| 57 | namespace aria2 { |
| 58 | |
| 59 | ActivePeerConnectionCommand::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 | |
| 71 | ActivePeerConnectionCommand::~ActivePeerConnectionCommand() |
| 72 | { |
nothing calls this directly
no test coverage detected