Class PingResponse
java.lang.Object
net.ME1312.SubData.Client.Library.PingResponse
Ping Response Class
All values presented by this class have been recorded in nanoseconds
All values presented by this class have been recorded in nanoseconds
-
Constructor Summary
ConstructorsConstructorDescriptionPingResponse(long[] timings) Calculates and stores the meaning of a ping using its recorded timings -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Get how long it took to download the ping responselongGet how long the ping waited in a queue on this machinelongGet how long the ping waited in a queuelongGet how long the ping waited in a queue on the remote machinelongGet how long it took to receive the ping response in totallongGet how long it took to transfer the ping over the network in both directionslongDeprecated.Get how long it took to upload the ping
-
Constructor Details
-
PingResponse
public PingResponse(long[] timings) Calculates and stores the meaning of a ping using its recorded timings- Parameters:
timings- Ping Timings
-
-
Method Details
-
getLocalQueueTime
public long getLocalQueueTime()Get how long the ping waited in a queue on this machine- Returns:
- Local Queue Time
-
getRemoteQueueTime
public long getRemoteQueueTime()Get how long the ping waited in a queue on the remote machine- Returns:
- Remote Queue Time
-
getQueueTime
public long getQueueTime()Get how long the ping waited in a queue- Returns:
- Queue Time
-
getUploadTime
Deprecated.Get how long it took to upload the ping -
getDownloadTime
Deprecated.Get how long it took to download the ping response -
getTransferTime
public long getTransferTime()Get how long it took to transfer the ping over the network in both directions- Returns:
- Transfer Time
-
getResponseTime
public long getResponseTime()Get how long it took to receive the ping response in total- Returns:
- Response Time
-