java.lang.Object
net.i2p.i2ptunnel.I2Ping.PingResult
Enclosing class:
I2Ping

private static class I2Ping.PingResultextends Object
The outcome of one ping.
  • Field Details

    • success

      final boolean success
      True if a reply arrived.
    • duration

      final long duration
      Time the reply took, in ms.
  • Constructor Details

    • PingResult

      PingResult(boolean success, long duration)
      Records one ping result.
      Parameters:
      success - true if a reply arrived
      duration - the time the reply took, in ms