Package hudson.model

Class ComputerPinger

    • Constructor Detail

      • ComputerPinger

        public ComputerPinger()
    • Method Detail

      • isReachable

        public abstract boolean isReachable​(InetAddress ia,
                                            int timeout)
                                     throws IOException
        Is the specified address reachable?
        Parameters:
        ia - The address to check.
        timeout - Timeout in seconds.
        Throws:
        IOException
      • checkIsReachable

        public static boolean checkIsReachable​(InetAddress ia,
                                               int timeout)
                                        throws IOException
        Is this computer reachable via the given address?
        Parameters:
        ia - The address to check.
        timeout - Timeout in seconds.
        Throws:
        IOException