diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-05-22 11:50:47 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-05-22 11:50:47 +0000 |
| commit | 1a29132b9131bc1bb338699441be8e562f8af2ba (patch) | |
| tree | 5dade5c5ea0e5fac15578ae1eb3afcc1dd4b375b /src/RequestGroup.h | |
| parent | 92f84f71f575fe4548f4a43575fbf49ce7d50d26 (diff) | |
2010-05-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added totalLength, completedLength, uploadLength, bitfield,
downloadSpeed, uploadSpeed, infoHash, numSeeders, pieceLength,
numPieces, connections and dir to the response of
aria2.tellStopped XML-RPC method. aria2.tellWaiting now always
returns numSeeders for BitTorrent download.
* src/DownloadResult.h
* src/RequestGroup.cc
* src/RequestGroup.h
* src/XmlRpcMethodImpl.cc
* test/XmlRpcMethodTest.cc
Diffstat (limited to 'src/RequestGroup.h')
| -rw-r--r-- | src/RequestGroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RequestGroup.h b/src/RequestGroup.h index 65420531..89f57380 100644 --- a/src/RequestGroup.h +++ b/src/RequestGroup.h @@ -258,7 +258,7 @@ public: return _gid; } - TransferStat calculateStat(); + TransferStat calculateStat() const; const SharedHandle<DownloadContext>& getDownloadContext() const { |
