Class JmmDNSImpl.NetworkChecker

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

    static class JmmDNSImpl.NetworkChecker
    extends java.util.TimerTask
    Checks the network state.
    If the network change, this class will reconfigure the list of DNS do adapt to the new configuration.
    • Method Detail

      • start

        public void start​(java.util.Timer timer)
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class java.util.TimerTask