summaryrefslogtreecommitdiff
path: root/src/RequestGroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/RequestGroup.h')
-rw-r--r--src/RequestGroup.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/RequestGroup.h b/src/RequestGroup.h
index df29fbe3..b1cf8573 100644
--- a/src/RequestGroup.h
+++ b/src/RequestGroup.h
@@ -97,6 +97,8 @@ private:
*/
unsigned int numStreamConnection_;
+ unsigned int numStreamCommand_;
+
unsigned int numCommand_;
SharedHandle<SegmentMan> segmentMan_;
@@ -278,13 +280,14 @@ public:
void setProgressInfoFile(const SharedHandle<BtProgressInfoFile>& progressInfoFile);
+ void increaseStreamCommand();
+
+ void decreaseStreamCommand();
+
void increaseStreamConnection();
void decreaseStreamConnection();
- // Returns the number of connections used in HTTP(S)/FTP.
- unsigned int getNumStreamConnection() { return numStreamConnection_; }
-
unsigned int getNumConnection() const;
void increaseNumCommand();