Class Ping.PingResult

  • Enclosing class:
    Ping

    public static class Ping.PingResult
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PingResult​(int pkts2Send)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long avgRTT()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • rtts

        public final long[] rtts
      • sendPkts

        public int sendPkts
      • recdPkts

        public int recdPkts
      • minRTT

        public long minRTT
      • maxRTT

        public long maxRTT
      • sumRTT

        public long sumRTT
    • Constructor Detail

      • PingResult

        public PingResult​(int pkts2Send)
    • Method Detail

      • avgRTT

        public long avgRTT()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object