public static class FD_HOST.IsReachablePingCommand extends java.lang.Object implements FD_HOST.PingCommand
| Constructor and Description |
|---|
IsReachablePingCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAlive(java.net.InetAddress host,
long timeout)
Checks whether a given host is alive
|
public boolean isAlive(java.net.InetAddress host,
long timeout)
throws java.lang.Exception
FD_HOST.PingCommandisAlive in interface FD_HOST.PingCommandhost - The host to be checked for livenesstimeout - Number of milliseconds to wait for the check to completejava.lang.ExceptionCopyright © 1998-2020 Red Hat. All Rights Reserved.