diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:12:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:20:27 +0900 |
| commit | d64089632e82a2548752c7a6baaa68365a795a74 (patch) | |
| tree | 57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/DHTInteractionCommand.h | |
| parent | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff) | |
| parent | a7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff) | |
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/DHTInteractionCommand.h')
| -rw-r--r-- | src/DHTInteractionCommand.h | 7 |
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 |
