org.jgroups.jmx.protocols

Class MPING

Implemented Interfaces:
DiscoveryMBean, MPINGMBean, PINGMBean, ProtocolMBean

public class MPING
extends PING
implements MPINGMBean

Version:
$Id: MPING.java,v 1.1 2005/06/14 10:10:10 belaban Exp $
Author:
Bela Ban

Constructor Summary

MPING()
MPING(Protocol p)

Method Summary

void
attachProtocol(Protocol p)
InetAddress
getBindAddr()
InetAddress
getMcastAddr()
int
getMcastPort()
int
getTTL()
boolean
isBindToAllInterfaces()
void
setBindAddr(InetAddress bind_addr)
void
setBindToAllInterfaces(boolean bind_to_all_interfaces)
void
setMcastAddr(InetAddress mcast_addr)
void
setMcastPort(int mcast_port)
void
setTTL(int ip_ttl)

Methods inherited from class org.jgroups.jmx.protocols.PING

attachProtocol

Methods inherited from class org.jgroups.jmx.protocols.Discovery

attachProtocol, findInitialMembers, findInitialMembersAsString, getDiscoveryRequestsSent, getInitialMembers, getPingRequests, getTimeout, setInitialMembers, setPingRequests, setTimeout

Methods inherited from class org.jgroups.jmx.Protocol

attachProtocol, create, destroy, dumpStats, getDownThread, getName, getPropertiesAsString, getStatsEnabled, getUpThread, isTrace, isWarn, printStats, resetStats, setObserver, setProperties, setStatsEnabled, setTrace, setWarn, start, stop

Constructor Details

MPING

public MPING()

MPING

public MPING(Protocol p)

Method Details

attachProtocol

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

getBindAddr

public InetAddress getBindAddr()
Specified by:
getBindAddr in interface MPINGMBean

getMcastAddr

public InetAddress getMcastAddr()
Specified by:
getMcastAddr in interface MPINGMBean

getMcastPort

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

getTTL

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

isBindToAllInterfaces

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

setBindAddr

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

setBindToAllInterfaces

public void setBindToAllInterfaces(boolean bind_to_all_interfaces)
Specified by:
setBindToAllInterfaces in interface MPINGMBean

setMcastAddr

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

setMcastPort

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

setTTL

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

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.