|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectequip.net.UnicastProbe
a simple unicast network probe to help with mobile networking tests. regularly sends to a unicast address, and also listens.
| Field Summary | |
static int |
DEFAULT_PORT
default port |
static int |
INTERVAL_MS
default interval, ms |
(package private) java.net.DatagramSocket |
socket
multicast socket to send and receive on |
| Constructor Summary | |
UnicastProbe(java.net.InetAddress peer,
int localport,
int peerport)
cons on given multicast group - runs immediately |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
test main: usage java equip.net.UnicastProbe <peerip> <localport> <peerport> |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
java.net.DatagramSocket socket
public static final int DEFAULT_PORT
public static final int INTERVAL_MS
| Constructor Detail |
public UnicastProbe(java.net.InetAddress peer,
int localport,
int peerport)
throws java.io.IOException,
java.lang.SecurityException
| Method Detail |
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||