|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cip4.jdflib.util.net.UrlCheck
public class UrlCheck
class to do network checks on urls
| Constructor Summary | |
|---|---|
UrlCheck(String url)
|
|
| Method Summary | |
|---|---|
UrlPart |
getPing()
get the ping of a started thread |
int |
getPingRC()
get the rc |
UrlPart |
ping(int waitMillis)
check if a url is accessible, return null if no connection within waitMillis millisecons |
int |
pingRC(int waitMillis)
get the rc |
void |
startPing(int waitMillis)
start pinging - multiple pings may run simultaneously |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UrlCheck(String url)
url - | Method Detail |
|---|
public UrlPart ping(int waitMillis)
waitMillis -
public UrlPart getPing()
public void startPing(int waitMillis)
waitMillis - time to wait (in total)public int pingRC(int waitMillis)
waitMillis -
public int getPingRC()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||