- All Known Implementing Classes:
BandwidthLimitingTunnelHandlerDownstreamThread
,BandwidthLimitingTunnelHandlerThread
,BandwidthLimitingTunnelHandlerUpstreamThread
public interface BitRateProvider
A
BitRateProvider
specifies precisely how many bits
per second of bandwidth a task should use.- Author:
- AO Industries, Inc.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
The recommended minimum bit rate. -
Method Summary
Modifier and TypeMethodDescriptionGets the bit rate in bits per second,null
indicates unlimited bandwidth.int
Gets the block size in bytes.
-
Field Details
-
MINIMUM_BIT_RATE
static final long MINIMUM_BIT_RATEThe recommended minimum bit rate.- See Also:
-
-
Method Details
-
getBitRate
Gets the bit rate in bits per second,null
indicates unlimited bandwidth.- Throws:
IOException
-
getBlockSize
int getBlockSize()Gets the block size in bytes.
-