com.cloudtran.jmx
Class Ping

java.lang.Object
  extended by javax.management.StandardMBean
      extended by com.cloudtran.jmx.AbstractMBean
          extended by com.cloudtran.jmx.Ping
All Implemented Interfaces:
PingMBean, DynamicMBean, MBeanRegistration

public class Ping
extends AbstractMBean
implements PingMBean


Constructor Summary
Ping()
           
 
Method Summary
 boolean getDoPing()
           
 String getHostAddress()
           
 double getPingTime()
           
 void setDoPing(boolean newValue)
           
 void setHostAddress(String hostAddress)
           
 
Methods inherited from class javax.management.StandardMBean
getAttribute, getAttributes, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ping

public Ping()
     throws NotCompliantMBeanException
Throws:
NotCompliantMBeanException
Method Detail

getHostAddress

public String getHostAddress()
Specified by:
getHostAddress in interface PingMBean

getPingTime

public double getPingTime()
Specified by:
getPingTime in interface PingMBean

setHostAddress

public void setHostAddress(String hostAddress)
Specified by:
setHostAddress in interface PingMBean

getDoPing

public boolean getDoPing()
Specified by:
getDoPing in interface PingMBean

setDoPing

public void setDoPing(boolean newValue)
Specified by:
setDoPing in interface PingMBean