|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--projectinfosearch.DiscoveryClient
A discovery client is able to find AgentServers
| Constructor Summary | |
DiscoveryClient(java.net.InetAddress mcastAddr,
int basePort)
Open a MulticastSocket for sending and receiving discovery requests and invoques the discover method |
|
| Method Summary | |
java.util.Vector |
getDiscoveryResult()
Returns the Vector that contains (IP address, port)-pairs (but only from distinct servers |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DiscoveryClient(java.net.InetAddress mcastAddr,
int basePort)
throws java.io.IOException,
java.net.UnknownHostException
mcastAddr - is the multicast address on which servers must be foundbasePort - is the port on which the multicast socket lives.| Method Detail |
public java.util.Vector getDiscoveryResult()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||