org.jgroups.protocols
public class MPING extends PING implements Runnable
The discovery is assymetric: discovery requests are broadcast via the multicast socket, and received via the multicast socket by everyone in the group. However, the discovery responses are sent back via the regular transport (e.g. TCP) to the sender (discovery request contained sender's regular address, e.g. 192.168.0.2:7800).
Version: $Id: MPING.java,v 1.12 2005/08/11 12:43:47 belaban Exp $
Method Summary | |
---|---|
InetAddress | getBindAddr() |
InetAddress | getMcastAddr() |
int | getMcastPort() |
String | getName() |
int | getTTL() |
boolean | isBindToAllInterfaces() |
void | run() |
void | setBindAddr(InetAddress bind_addr) |
void | setBindToAllInterfaces(boolean bind_to_all_interfaces) |
void | setMcastAddr(InetAddress mcast_addr) |
void | setMcastPort(int mcast_port) |
boolean | setProperties(Properties props) |
void | setTTL(int ip_ttl) |
void | start() |
void | stop() |