|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.utils.NodeProbe
public class NodeProbe
NodeProbe tests for network connectivity to a specified IP address and port number.
| Field Summary | |
|---|---|
boolean |
_status
return status true if available (socket attempt successful) false otherwise |
| Constructor Summary | |
|---|---|
NodeProbe()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
boolean |
probe(java.net.InetAddress addr,
int port,
long timeoutMillis)
The probe method creates a ProbeWorker to contact the specified host. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean _status
| Constructor Detail |
|---|
public NodeProbe()
| Method Detail |
|---|
public boolean probe(java.net.InetAddress addr,
int port,
long timeoutMillis)
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||