Interface Pings.PingDetails

Enclosing interface:
Pings

public static interface Pings.PingDetails
Server response to a ping.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Round trip time in milliseconds from when the ping was sent to the time the response was received.
    long
    Timestamp when the ping was sent.
  • Method Details

    • getTimestamp

      long getTimestamp()
      Timestamp when the ping was sent.
      Returns:
      timestamp represented as milliseconds since epoch
    • getRoundTripTime

      long getRoundTripTime()
      Round trip time in milliseconds from when the ping was sent to the time the response was received.
      Returns:
      round trip time