summaryrefslogtreecommitdiff
path: root/src/DHTInteractionCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DHTInteractionCommand.h')
-rw-r--r--src/DHTInteractionCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DHTInteractionCommand.h b/src/DHTInteractionCommand.h
index f2ebaea3..513011f8 100644
--- a/src/DHTInteractionCommand.h
+++ b/src/DHTInteractionCommand.h
@@ -49,7 +49,7 @@ class SocketCore;
class DHTConnection;
class UDPTrackerClient;
-class DHTInteractionCommand:public Command {
+class DHTInteractionCommand : public Command {
private:
DownloadEngine* e_;
DHTMessageDispatcher* dispatcher_;
@@ -58,6 +58,7 @@ private:
std::shared_ptr<SocketCore> readCheckSocket_;
std::unique_ptr<DHTConnection> connection_;
std::shared_ptr<UDPTrackerClient> udpTrackerClient_;
+
public:
DHTInteractionCommand(cuid_t cuid, DownloadEngine* e);
@@ -77,8 +78,8 @@ public:
void setConnection(std::unique_ptr<DHTConnection> connection);
- void setUDPTrackerClient
- (const std::shared_ptr<UDPTrackerClient>& udpTrackerClient);
+ void setUDPTrackerClient(
+ const std::shared_ptr<UDPTrackerClient>& udpTrackerClient);
};
} // namespace aria2