| 185 | } |
| 186 | |
| 187 | TrackerWatcherCommand::TrackerWatcherCommand(cuid_t cuid, |
| 188 | RequestGroup* requestGroup, |
| 189 | DownloadEngine* e) |
| 190 | : Command(cuid), |
| 191 | requestGroup_(requestGroup), |
| 192 | e_(e), |
| 193 | udpTrackerClient_(e_->getBtRegistry()->getUDPTrackerClient()) |
| 194 | { |
| 195 | requestGroup_->increaseNumCommand(); |
| 196 | if (udpTrackerClient_) { |
| 197 | udpTrackerClient_->increaseWatchers(); |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | TrackerWatcherCommand::~TrackerWatcherCommand() |
| 202 | { |
nothing calls this directly
no test coverage detected