hudson.model
Class ComputerPinger.BuiltInComputerPinger
java.lang.Object
hudson.model.ComputerPinger
hudson.model.ComputerPinger.BuiltInComputerPinger
- All Implemented Interfaces:
- ExtensionPoint
- Enclosing class:
- ComputerPinger
@Extension
public static class ComputerPinger.BuiltInComputerPinger
- extends ComputerPinger
Default pinger - use Java built-in functionality. This doesn't always work,
a host may be reachable even if this returns false.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComputerPinger.BuiltInComputerPinger
public ComputerPinger.BuiltInComputerPinger()
isReachable
public boolean isReachable(InetAddress ia,
int timeout)
throws IOException
- Description copied from class:
ComputerPinger
- Is the specified address reachable?
- Specified by:
isReachable
in class ComputerPinger
- Parameters:
ia
- The address to check.timeout
- Timeout in seconds.
- Throws:
IOException
Copyright © 2004-2013. All Rights Reserved.