summaryrefslogtreecommitdiff
path: root/src/RequestGroup.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-05-22 11:50:47 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-05-22 11:50:47 +0000
commit1a29132b9131bc1bb338699441be8e562f8af2ba (patch)
tree5dade5c5ea0e5fac15578ae1eb3afcc1dd4b375b /src/RequestGroup.h
parent92f84f71f575fe4548f4a43575fbf49ce7d50d26 (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.h2
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
{