public class MulticastDetector<T> extends Object
Constructor and Description |
---|
MulticastDetector(String identity) |
MulticastDetector(String identity,
InetAddress groupAddr,
int groupPort) |
MulticastDetector(String identity,
String groupAddr,
int groupPort) |
Modifier and Type | Method and Description |
---|---|
DetectionHandler |
getDetectionHandler() |
long |
getHeartBeatTimeout() |
String |
getIdentity() |
Peer<T>[] |
getPeers() |
MulticastSocket |
getSocket() |
void |
setDetectionHandler(DetectionHandler handler) |
void |
setHeartBeatTimeout(long ms) |
void |
start() |
void |
stop() |
public MulticastDetector(String identity, InetAddress groupAddr, int groupPort) throws IOException
IOException
public MulticastDetector(String identity) throws IOException
IOException
public MulticastDetector(String identity, String groupAddr, int groupPort) throws IOException
IOException
public void setDetectionHandler(DetectionHandler handler)
public DetectionHandler getDetectionHandler()
public MulticastSocket getSocket()
public void setHeartBeatTimeout(long ms)
public long getHeartBeatTimeout()
public void start()
public void stop()
public String getIdentity()
Copyright © 2013 Nuxeo SA. All Rights Reserved.