public static class FD_HOST.IsReachablePingCommand extends java.lang.Object implements FD_HOST.PingCommand
| 构造器和说明 |
|---|
FD_HOST.IsReachablePingCommand() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 FD_HOST.PingCommandhost - The host to be checked for livenesstimeout - Number of milliseconds to wait for the check to completejava.lang.Exception