Package org.jgroups.jmx.protocols
Class MPING
- java.lang.Object
-
- org.jgroups.jmx.Protocol
-
- org.jgroups.jmx.protocols.Discovery
-
- org.jgroups.jmx.protocols.PING
-
- org.jgroups.jmx.protocols.MPING
-
- All Implemented Interfaces:
ProtocolMBean,DiscoveryMBean,MPINGMBean,PINGMBean
public class MPING extends PING implements MPINGMBean
- Version:
- $Id: MPING.java,v 1.2 2007/07/02 11:16:07 belaban Exp $
- Author:
- Bela Ban
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidattachProtocol(Protocol p)java.net.InetAddressgetBindAddr()java.net.InetAddressgetMcastAddr()intgetMcastPort()java.util.List<java.net.NetworkInterface>getReceiveInterfaces()java.util.List<java.net.NetworkInterface>getSendInterfaces()intgetTTL()booleanisReceiveOnAllInterfaces()booleanisSendOnAllInterfaces()voidsetBindAddr(java.net.InetAddress bind_addr)voidsetMcastAddr(java.net.InetAddress mcast_addr)voidsetMcastPort(int mcast_port)voidsetTTL(int ip_ttl)-
Methods inherited from class org.jgroups.jmx.protocols.Discovery
findInitialMembers, findInitialMembersAsString, getDiscoveryRequestsSent, getInitialMembers, getPingRequests, getTimeout, setInitialMembers, setPingRequests, setTimeout
-
Methods inherited from class org.jgroups.jmx.Protocol
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jgroups.jmx.protocols.DiscoveryMBean
findInitialMembers, findInitialMembersAsString, getDiscoveryRequestsSent, getInitialMembers, getPingRequests, getTimeout, setInitialMembers, setPingRequests, setTimeout
-
Methods inherited from interface org.jgroups.jmx.ProtocolMBean
create, destroy, dumpStats, getName, getPropertiesAsString, getStatsEnabled, printStats, resetStats, setProperties, setStatsEnabled, start, stop
-
-
-
-
Constructor Detail
-
MPING
public MPING()
-
MPING
public MPING(Protocol p)
-
-
Method Detail
-
attachProtocol
public void attachProtocol(Protocol p)
- Overrides:
attachProtocolin classPING
-
getBindAddr
public java.net.InetAddress getBindAddr()
- Specified by:
getBindAddrin interfaceMPINGMBean
-
setBindAddr
public void setBindAddr(java.net.InetAddress bind_addr)
- Specified by:
setBindAddrin interfaceMPINGMBean
-
getReceiveInterfaces
public java.util.List<java.net.NetworkInterface> getReceiveInterfaces()
- Specified by:
getReceiveInterfacesin interfaceMPINGMBean
-
getSendInterfaces
public java.util.List<java.net.NetworkInterface> getSendInterfaces()
- Specified by:
getSendInterfacesin interfaceMPINGMBean
-
isReceiveOnAllInterfaces
public boolean isReceiveOnAllInterfaces()
- Specified by:
isReceiveOnAllInterfacesin interfaceMPINGMBean
-
isSendOnAllInterfaces
public boolean isSendOnAllInterfaces()
- Specified by:
isSendOnAllInterfacesin interfaceMPINGMBean
-
getTTL
public int getTTL()
- Specified by:
getTTLin interfaceMPINGMBean
-
setTTL
public void setTTL(int ip_ttl)
- Specified by:
setTTLin interfaceMPINGMBean
-
getMcastAddr
public java.net.InetAddress getMcastAddr()
- Specified by:
getMcastAddrin interfaceMPINGMBean
-
setMcastAddr
public void setMcastAddr(java.net.InetAddress mcast_addr)
- Specified by:
setMcastAddrin interfaceMPINGMBean
-
getMcastPort
public int getMcastPort()
- Specified by:
getMcastPortin interfaceMPINGMBean
-
setMcastPort
public void setMcastPort(int mcast_port)
- Specified by:
setMcastPortin interfaceMPINGMBean
-
-