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
- Version:
- $Id: MPING.java,v 1.2 2007/07/02 11:16:07 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
getTTL()
boolean
boolean
void
setBindAddr
(InetAddress bind_addr) void
setMcastAddr
(InetAddress mcast_addr) void
setMcastPort
(int mcast_port) void
setTTL
(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 Details
-
MPING
public MPING() -
MPING
-
-
Method Details
-
attachProtocol
- Overrides:
attachProtocol
in classPING
-
getBindAddr
- Specified by:
getBindAddr
in interfaceMPINGMBean
-
setBindAddr
- Specified by:
setBindAddr
in interfaceMPINGMBean
-
getReceiveInterfaces
- Specified by:
getReceiveInterfaces
in interfaceMPINGMBean
-
getSendInterfaces
- Specified by:
getSendInterfaces
in interfaceMPINGMBean
-
isReceiveOnAllInterfaces
public boolean isReceiveOnAllInterfaces()- Specified by:
isReceiveOnAllInterfaces
in interfaceMPINGMBean
-
isSendOnAllInterfaces
public boolean isSendOnAllInterfaces()- Specified by:
isSendOnAllInterfaces
in interfaceMPINGMBean
-
getTTL
public int getTTL()- Specified by:
getTTL
in interfaceMPINGMBean
-
setTTL
public void setTTL(int ip_ttl) - Specified by:
setTTL
in interfaceMPINGMBean
-
getMcastAddr
- Specified by:
getMcastAddr
in interfaceMPINGMBean
-
setMcastAddr
- Specified by:
setMcastAddr
in interfaceMPINGMBean
-
getMcastPort
public int getMcastPort()- Specified by:
getMcastPort
in interfaceMPINGMBean
-
setMcastPort
public void setMcastPort(int mcast_port) - Specified by:
setMcastPort
in interfaceMPINGMBean
-