public class LastmileProbeConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
expectedDownlinkBitrate
Expected downlink bitrate (bps)
|
private int |
expectedUplinkBitrate
Expected uplink bitrate (bps)
|
private int |
probeDownlink
Whether to probe downlink
|
private int |
probeUplink
Whether to probe uplink
|
| Constructor and Description |
|---|
LastmileProbeConfig()
Default constructor for LastmileProbeConfig.
|
LastmileProbeConfig(int probeUplink,
int probeDownlink,
int expectedUplinkBitrate,
int expectedDownlinkBitrate)
Constructs LastmileProbeConfig with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExpectedDownlinkBitrate()
Gets the expected downlink bitrate (bps).
|
int |
getExpectedUplinkBitrate()
Gets the expected uplink bitrate (bps).
|
int |
getProbeDownlink()
Gets whether to probe downlink.
|
int |
getProbeUplink()
Gets whether to probe uplink.
|
void |
setExpectedDownlinkBitrate(int expectedDownlinkBitrate)
Sets the expected downlink bitrate (bps).
|
void |
setExpectedUplinkBitrate(int expectedUplinkBitrate)
Sets the expected uplink bitrate (bps).
|
void |
setProbeDownlink(int probeDownlink)
Sets whether to probe downlink.
|
void |
setProbeUplink(int probeUplink)
Sets whether to probe uplink.
|
private int probeUplink
private int probeDownlink
private int expectedUplinkBitrate
private int expectedDownlinkBitrate
public LastmileProbeConfig()
public LastmileProbeConfig(int probeUplink,
int probeDownlink,
int expectedUplinkBitrate,
int expectedDownlinkBitrate)
probeUplink - Whether to probe uplinkprobeDownlink - Whether to probe downlinkexpectedUplinkBitrate - Expected uplink bitrate (bps)expectedDownlinkBitrate - Expected downlink bitrate (bps)public int getProbeUplink()
public void setProbeUplink(int probeUplink)
probeUplink - Whether to probe uplinkpublic int getProbeDownlink()
public void setProbeDownlink(int probeDownlink)
probeDownlink - Whether to probe downlinkpublic int getExpectedUplinkBitrate()
public void setExpectedUplinkBitrate(int expectedUplinkBitrate)
expectedUplinkBitrate - Expected uplink bitrate (bps)public int getExpectedDownlinkBitrate()
public void setExpectedDownlinkBitrate(int expectedDownlinkBitrate)
expectedDownlinkBitrate - Expected downlink bitrate (bps)