org.jgroups.jmx.protocols
Class MPING

java.lang.Object
  extended by org.jgroups.jmx.Protocol
      extended by org.jgroups.jmx.protocols.Discovery
          extended by org.jgroups.jmx.protocols.PING
              extended by 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

Constructor Summary
MPING()
           
MPING(Protocol p)
           
 
Method Summary
 void attachProtocol(Protocol p)
           
 java.net.InetAddress getBindAddr()
           
 java.net.InetAddress getMcastAddr()
           
 int getMcastPort()
           
 java.util.List<java.net.NetworkInterface> getReceiveInterfaces()
           
 java.util.List<java.net.NetworkInterface> getSendInterfaces()
           
 int getTTL()
           
 boolean isReceiveOnAllInterfaces()
           
 boolean isSendOnAllInterfaces()
           
 void setBindAddr(java.net.InetAddress bind_addr)
           
 void setMcastAddr(java.net.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 Detail

MPING

public MPING()

MPING

public MPING(Protocol p)
Method Detail

attachProtocol

public void attachProtocol(Protocol p)
Overrides:
attachProtocol in class PING

getBindAddr

public java.net.InetAddress getBindAddr()
Specified by:
getBindAddr in interface MPINGMBean

setBindAddr

public void setBindAddr(java.net.InetAddress bind_addr)
Specified by:
setBindAddr in interface MPINGMBean

getReceiveInterfaces

public java.util.List<java.net.NetworkInterface> getReceiveInterfaces()
Specified by:
getReceiveInterfaces in interface MPINGMBean

getSendInterfaces

public java.util.List<java.net.NetworkInterface> getSendInterfaces()
Specified by:
getSendInterfaces in interface MPINGMBean

isReceiveOnAllInterfaces

public boolean isReceiveOnAllInterfaces()
Specified by:
isReceiveOnAllInterfaces in interface MPINGMBean

isSendOnAllInterfaces

public boolean isSendOnAllInterfaces()
Specified by:
isSendOnAllInterfaces in interface MPINGMBean

getTTL

public int getTTL()
Specified by:
getTTL in interface MPINGMBean

setTTL

public void setTTL(int ip_ttl)
Specified by:
setTTL in interface MPINGMBean

getMcastAddr

public java.net.InetAddress getMcastAddr()
Specified by:
getMcastAddr in interface MPINGMBean

setMcastAddr

public void setMcastAddr(java.net.InetAddress mcast_addr)
Specified by:
setMcastAddr in interface MPINGMBean

getMcastPort

public int getMcastPort()
Specified by:
getMcastPort in interface MPINGMBean

setMcastPort

public void setMcastPort(int mcast_port)
Specified by:
setMcastPort in interface MPINGMBean


Copyright © 1998-2008 Bela Ban. All Rights Reserved.