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