org.jboss.remoting.detection.multicast
Interface MulticastDetectorMBean

All Superinterfaces:
Detector (src) , MBeanRegistration (src)
All Known Implementing Classes:
MulticastDetector (src)

public interface MulticastDetectorMBean
extends Detector (src)

MulticastDetectorMBean


Method Summary
 java.net.InetAddress getAddress()
          return the multicast address of the detector
 java.net.InetAddress getBindAddress()
          return the bind address of the detector
 java.lang.String getDefaultIP()
           
 int getPort()
          get the port that the detector is multicasting to
 void setAddress(java.net.InetAddress ip)
          set the interface address of the multicast
 void setBindAddress(java.net.InetAddress ip)
          set the bind address
 void setDefaultIP(java.lang.String defaultIP)
           
 void setPort(int port)
          set the port for detections to be multicast to
 
Methods inherited from interface org.jboss.remoting.detection.Detector (src)
start, stop
 
Methods inherited from interface javax.management.MBeanRegistration (src)
postDeregister, postRegister, preDeregister, preRegister
 

Method Detail

getAddress

public java.net.InetAddress getAddress()
return the multicast address of the detector

Returns:

setAddress

public void setAddress(java.net.InetAddress ip)
set the interface address of the multicast

Parameters:
ip -

getBindAddress

public java.net.InetAddress getBindAddress()
return the bind address of the detector

Returns:

setBindAddress

public void setBindAddress(java.net.InetAddress ip)
set the bind address

Parameters:
ip -

setPort

public void setPort(int port)
set the port for detections to be multicast to

Parameters:
port -

getPort

public int getPort()
get the port that the detector is multicasting to

Returns:

getDefaultIP

public java.lang.String getDefaultIP()
Returns:
The IP that is used to broadcast detection messages on via multicast.

setDefaultIP

public void setDefaultIP(java.lang.String defaultIP)
Parameters:
defaultIP - The IP that is used to broadcast detection messages on via multicast.