org.jboss.soa.esb.nagios.monitor
Class HeartbeatMonitor

java.lang.Object
  extended by org.jboss.soa.esb.nagios.monitor.HeartbeatMonitor
All Implemented Interfaces:
ServiceMonitor

public class HeartbeatMonitor
extends java.lang.Object
implements ServiceMonitor


Constructor Summary
HeartbeatMonitor(java.lang.String host, java.lang.String service)
           
 
Method Summary
 java.lang.String getHost()
           
 ServiceResponse getResponse()
           
 java.lang.String getService()
           
 void setHost(java.lang.String host)
           
 void setService(java.lang.String service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartbeatMonitor

public HeartbeatMonitor(java.lang.String host,
                        java.lang.String service)
Method Detail

getHost

public java.lang.String getHost()
Specified by:
getHost in interface ServiceMonitor

setHost

public void setHost(java.lang.String host)
Specified by:
setHost in interface ServiceMonitor

getService

public java.lang.String getService()
Specified by:
getService in interface ServiceMonitor

setService

public void setService(java.lang.String service)
Specified by:
setService in interface ServiceMonitor

getResponse

public ServiceResponse getResponse()
Specified by:
getResponse in interface ServiceMonitor