summaryrefslogtreecommitdiff
path: root/src/PeerSessionResource.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-01-04 23:54:18 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-01-05 16:23:58 +0900
commit8246fd1ff509fc6fbab4683443dc816127ccedaf (patch)
treea9276808d3525300b7b0b889afb2d353e018f085 /src/PeerSessionResource.h
parentb1132d6b10cd3791b9529d7031d723fd0e2d8215 (diff)
Updating upload size and speed must be done separately
Diffstat (limited to 'src/PeerSessionResource.h')
-rw-r--r--src/PeerSessionResource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/PeerSessionResource.h b/src/PeerSessionResource.h
index 3f51a79e..e36ad3af 100644
--- a/src/PeerSessionResource.h
+++ b/src/PeerSessionResource.h
@@ -182,11 +182,13 @@ public:
int64_t uploadLength() const;
+ void updateUploadSpeed(int32_t bytes);
+
void updateUploadLength(int32_t bytes);
int64_t downloadLength() const;
- void updateDownloadLength(int32_t bytes);
+ void updateDownload(int32_t bytes);
const Timer& getLastDownloadUpdate() const { return lastDownloadUpdate_; }