Package hudson.model
Class ComputerPinger.BuiltInComputerPinger
java.lang.Object
hudson.model.ComputerPinger
hudson.model.ComputerPinger.BuiltInComputerPinger
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- ComputerPinger
Default pinger - use Java built-in functionality. This doesn't always work,
a host may be reachable even if this returns false.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.ComputerPinger
ComputerPinger.BuiltInComputerPinger
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isReachable
(InetAddress ia, int timeout) Is the specified address reachable?Methods inherited from class hudson.model.ComputerPinger
all, checkIsReachable
-
Constructor Details
-
BuiltInComputerPinger
public BuiltInComputerPinger()
-
-
Method Details
-
isReachable
Description copied from class:ComputerPinger
Is the specified address reachable?- Specified by:
isReachable
in classComputerPinger
- Parameters:
ia
- The address to check.timeout
- Timeout in seconds.- Throws:
IOException
-