protected static class FD_HOST.ExternalPingCommand extends java.lang.Object implements FD_HOST.PingCommand
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
cmd |
| 构造器和说明 |
|---|
FD_HOST.ExternalPingCommand(java.lang.String cmd) |
| 限定符和类型 | 方法和说明 |
|---|---|
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