Remote Call Framework 3.4
RCF::BandwidthQuota Class Reference

Describes a unit of bandwidth, to be used by downloads or uploads, for a single connection or a group of connections. More...

#include <FileStream.hpp>

Inherits RCF::Noncopyable.

Public Member Functions

 BandwidthQuota (std::uint32_t quotaBps)
 Creates a bandwidth quota object controlling up to quotaBps bytes per second. More...
 
void setQuota (std::uint32_t quotaBps)
 Sets the amount of bandwidth this object controls. Internally synchronized and can be called at any time. More...
 

Detailed Description

Describes a unit of bandwidth, to be used by downloads or uploads, for a single connection or a group of connections.

Constructor & Destructor Documentation

◆ BandwidthQuota()

RCF::BandwidthQuota::BandwidthQuota ( std::uint32_t  quotaBps)

Creates a bandwidth quota object controlling up to quotaBps bytes per second.

Member Function Documentation

◆ setQuota()

void RCF::BandwidthQuota::setQuota ( std::uint32_t  quotaBps)

Sets the amount of bandwidth this object controls. Internally synchronized and can be called at any time.


The documentation for this class was generated from the following file: