public abstract class ComputerPinger extends Object implements ExtensionPoint
| Modifier and Type | Class and Description |
|---|---|
static class |
ComputerPinger.BuiltInComputerPinger
Default pinger - use Java built-in functionality.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ComputerPinger() |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionList<ComputerPinger> |
all()
Get all registered instances.
|
static boolean |
checkIsReachable(InetAddress ia,
int timeout)
Is this computer reachable via the given address?
|
abstract boolean |
isReachable(InetAddress ia,
int timeout)
Is the specified address reachable?
|
public abstract boolean isReachable(InetAddress ia, int timeout) throws IOException
ia - The address to check.timeout - Timeout in seconds.IOExceptionpublic static ExtensionList<ComputerPinger> all()
public static boolean checkIsReachable(InetAddress ia, int timeout) throws IOException
ia - The address to check.timeout - Timeout in seconds.IOExceptionCopyright © 2019. All rights reserved.