diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-01-04 23:54:18 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-01-05 16:23:58 +0900 |
| commit | 8246fd1ff509fc6fbab4683443dc816127ccedaf (patch) | |
| tree | a9276808d3525300b7b0b889afb2d353e018f085 /src/PeerSessionResource.h | |
| parent | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (diff) | |
Updating upload size and speed must be done separately
Diffstat (limited to 'src/PeerSessionResource.h')
| -rw-r--r-- | src/PeerSessionResource.h | 4 |
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_; } |
