Class PeersRttHandler.PeerRtt

java.lang.Object
org.drasyl.handler.PeersRttHandler.PeerRtt
Enclosing class:
PeersRttHandler

public static class PeersRttHandler.PeerRtt extends Object
  • Field Details

  • Method Details

    • role

    • inetAddress

      public InetSocketAddress inetAddress()
    • sent

      public long sent()
      Returns:
      number of pings sent
    • last

      public long last()
      Returns:
      RTT of last ping
    • average

      public double average()
      Returns:
      average RTT
    • best

      public long best()
      Returns:
      best RTT
    • worst

      public long worst()
      Returns:
      worst RTT
    • stDev

      public double stDev()
      Returns:
      RTT standard deviation