Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.detection
Class MulticastDetector<T>

java.lang.Object
  extended by org.nuxeo.runtime.detection.MulticastDetector<T>

public class MulticastDetector<T>
extends java.lang.Object

Author:
Bogdan Stefanescu

Constructor Summary
MulticastDetector(java.lang.String identity)
           
MulticastDetector(java.lang.String identity, java.net.InetAddress groupAddr, int groupPort)
           
MulticastDetector(java.lang.String identity, java.lang.String groupAddr, int groupPort)
           
 
Method Summary
 DetectionHandler getDetectionHandler()
           
 long getHeartBeatTimeout()
           
 java.lang.String getIdentity()
           
 Peer<T>[] getPeers()
           
 java.net.MulticastSocket getSocket()
           
 void setDetectionHandler(DetectionHandler handler)
           
 void setHeartBeatTimeout(long ms)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.