org.nuxeo.runtime.detection
Class MulticastDetector<T>
java.lang.Object
org.nuxeo.runtime.detection.MulticastDetector<T>
public class MulticastDetector<T>
- extends java.lang.Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MulticastDetector
public MulticastDetector(java.lang.String identity,
java.net.InetAddress groupAddr,
int groupPort)
throws java.io.IOException
- Throws:
java.io.IOException
MulticastDetector
public MulticastDetector(java.lang.String identity)
throws java.io.IOException
- Throws:
java.io.IOException
MulticastDetector
public MulticastDetector(java.lang.String identity,
java.lang.String groupAddr,
int groupPort)
throws java.io.IOException
- Throws:
java.io.IOException
setDetectionHandler
public void setDetectionHandler(DetectionHandler handler)
getDetectionHandler
public DetectionHandler getDetectionHandler()
getSocket
public java.net.MulticastSocket getSocket()
setHeartBeatTimeout
public void setHeartBeatTimeout(long ms)
getHeartBeatTimeout
public long getHeartBeatTimeout()
start
public void start()
stop
public void stop()
getIdentity
public java.lang.String getIdentity()
getPeers
public Peer<T>[] getPeers()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.