|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.remoting.detection.AbstractDetector
org.jboss.remoting.detection.multicast.MulticastDetector
MulticastDetector
Field Summary |
Fields inherited from class org.jboss.remoting.detection.AbstractDetector |
log, mbeanserver, objectName, registryObjectName |
Constructor Summary | |
MulticastDetector()
|
Method Summary | |
InetAddress |
getAddress()
return the multicast address of the detector |
InetAddress |
getBindAddress()
return the bind address of the detector |
String |
getDefaultIP()
|
int |
getPort()
get the port that the detector is multicasting to |
protected void |
heartbeat()
subclasses must implement to provide the specific heartbeat protocol for this server to send out to other servers on the network |
void |
setAddress(InetAddress ip)
set the interface address of the multicast |
void |
setBindAddress(InetAddress ip)
set the bind address of the multicast |
void |
setDefaultIP(String defaultIP)
|
void |
setPort(int port)
set the port for detections to be multicast to |
void |
start()
called by MBeanServer to start the mbean lifecycle |
void |
stop()
called by the MBeanServer to stop the mbean lifecycle |
Methods inherited from class org.jboss.remoting.detection.AbstractDetector |
checkInvokerServer, detect, getConfiguration, getDefaultTimeDelay, getHeartbeatDelay, getHeartbeatPeriod, getHeartbeatTimeDelay, getPingerDelay, getPingerPeriod, isRemoteDetection, postDeregister, postRegister, preDeregister, preRegister, setConfiguration, setDefaultTimeDelay, setHeartbeatTimeDelay, startHeartbeat, startPinger, stopHeartbeat, stopPinger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preDeregister, preRegister |
Constructor Detail |
public MulticastDetector()
Method Detail |
public String getDefaultIP()
getDefaultIP
in interface MulticastDetectorMBean
public void setDefaultIP(String defaultIP)
setDefaultIP
in interface MulticastDetectorMBean
defaultIP
- The IP that is used to broadcast detection messages on via multicast.public InetAddress getAddress()
getAddress
in interface MulticastDetectorMBean
public void setAddress(InetAddress ip)
setAddress
in interface MulticastDetectorMBean
ip
- public InetAddress getBindAddress()
getBindAddress
in interface MulticastDetectorMBean
public void setBindAddress(InetAddress ip)
setBindAddress
in interface MulticastDetectorMBean
ip
- public int getPort()
getPort
in interface MulticastDetectorMBean
public void setPort(int port)
setPort
in interface MulticastDetectorMBean
port
- public void start() throws Exception
start
in interface Detector
start
in class AbstractDetector
Exception
public void stop() throws Exception
stop
in interface Detector
stop
in class AbstractDetector
Exception
protected void heartbeat()
heartbeat
in class AbstractDetector
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |