public class LastmileProbeResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private LastmileProbeOneWayResult |
downlinkReport
Downlink probe result
|
private int |
rtt
Round-trip time (ms)
|
private int |
state
Probe state
|
private LastmileProbeOneWayResult |
uplinkReport
Uplink probe result
|
| Constructor and Description |
|---|
LastmileProbeResult()
Default constructor for LastmileProbeResult.
|
LastmileProbeResult(int state,
LastmileProbeOneWayResult uplinkReport,
LastmileProbeOneWayResult downlinkReport,
int rtt)
Constructs LastmileProbeResult with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
LastmileProbeOneWayResult |
getDownlinkReport()
Gets the downlink probe result.
|
int |
getRtt()
Gets the round-trip time (ms).
|
int |
getState()
Gets the probe state.
|
LastmileProbeOneWayResult |
getUplinkReport()
Gets the uplink probe result.
|
void |
setDownlinkReport(LastmileProbeOneWayResult downlinkReport)
Sets the downlink probe result.
|
void |
setRtt(int rtt)
Sets the round-trip time (ms).
|
void |
setState(int state)
Sets the probe state.
|
void |
setUplinkReport(LastmileProbeOneWayResult uplinkReport)
Sets the uplink probe result.
|
private int state
private LastmileProbeOneWayResult uplinkReport
private LastmileProbeOneWayResult downlinkReport
private int rtt
public LastmileProbeResult()
public LastmileProbeResult(int state,
LastmileProbeOneWayResult uplinkReport,
LastmileProbeOneWayResult downlinkReport,
int rtt)
state - Probe stateuplinkReport - Uplink probe resultdownlinkReport - Downlink probe resultrtt - Round-trip time (ms)public int getState()
public void setState(int state)
state - Probe statepublic LastmileProbeOneWayResult getUplinkReport()
public void setUplinkReport(LastmileProbeOneWayResult uplinkReport)
uplinkReport - Uplink probe resultpublic LastmileProbeOneWayResult getDownlinkReport()
public void setDownlinkReport(LastmileProbeOneWayResult downlinkReport)
downlinkReport - Downlink probe resultpublic int getRtt()
public void setRtt(int rtt)
rtt - Round-trip time (ms)