org.nuxeo.runtime.detection
Class MulticastDetector<T>
java.lang.Object
org.nuxeo.runtime.detection.MulticastDetector<T>
public class MulticastDetector<T>
- extends Object
- Author:
- Bogdan Stefanescu
MulticastDetector
public MulticastDetector(String identity,
InetAddress groupAddr,
int groupPort)
throws IOException
- Throws:
IOException
MulticastDetector
public MulticastDetector(String identity)
throws IOException
- Throws:
IOException
MulticastDetector
public MulticastDetector(String identity,
String groupAddr,
int groupPort)
throws IOException
- Throws:
IOException
setDetectionHandler
public void setDetectionHandler(DetectionHandler handler)
getDetectionHandler
public DetectionHandler getDetectionHandler()
getSocket
public MulticastSocket getSocket()
setHeartBeatTimeout
public void setHeartBeatTimeout(long ms)
getHeartBeatTimeout
public long getHeartBeatTimeout()
start
public void start()
stop
public void stop()
getIdentity
public String getIdentity()
getPeers
public Peer<T>[] getPeers()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.