|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.dalsemi.nethack.Ping
A class that can be used to ping nodes on a network.
| Method Summary | |
static boolean |
pingNode(java.net.InetAddress addr)
Pings the given ip address. |
static int |
pingNode(java.net.InetAddress addr,
int count)
Pings the specified node. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static int pingNode(java.net.InetAddress addr,
int count)
addr - - ip address to be pinged.count - - number of times to ping.InetAddresspublic static boolean pingNode(java.net.InetAddress addr)
addr - ip address to be pinged.InetAddress
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||