Class FD_ICMP.PingMonitor

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    FD_ICMP

    protected class FD_ICMP.PingMonitor
    extends FD.Monitor
    Runs InetAddress.isReachable(). Each time the command fails, we increment num_tries. If num_tries > max_tries, we emit a SUSPECT message. If ping_dest changes, or we do receive traffic from ping_dest, we reset num_tries to 0.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected PingMonitor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PingMonitor

        protected PingMonitor()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class FD.Monitor