summaryrefslogtreecommitdiff
path: root/src/PeerChokeCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PeerChokeCommand.cc')
-rw-r--r--src/PeerChokeCommand.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/PeerChokeCommand.cc b/src/PeerChokeCommand.cc
index de06502b..7c2eec0e 100644
--- a/src/PeerChokeCommand.cc
+++ b/src/PeerChokeCommand.cc
@@ -36,13 +36,17 @@
#include "Util.h"
PeerChokeCommand::PeerChokeCommand(int32_t cuid,
- TorrentDownloadEngine* e,
+ RequestGroup* requestGroup,
+ DownloadEngine* e,
const BtContextHandle& btContext,
int32_t interval):
- BtContextAwareCommand(cuid, btContext),
+ Command(cuid),
+ BtContextAwareCommand(btContext),
+ RequestGroupAware(requestGroup),
interval(interval),
e(e),
- rotate(0) {}
+ rotate(0)
+{}
PeerChokeCommand::~PeerChokeCommand() {}