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... | |
Describes a unit of bandwidth, to be used by downloads or uploads, for a single connection or a group of connections.
RCF::BandwidthQuota::BandwidthQuota | ( | std::uint32_t | quotaBps | ) |
Creates a bandwidth quota object controlling up to quotaBps bytes per second.
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.