OpenNMS API 1.1.4

org.opennms.netmgt.poller
Interface Pollable

All Known Implementing Classes:
PollableInterface, PollableService

public interface Pollable

The Pollable class...

Author:
Mike, OpenNMS

Field Summary
static int STATUS_DOWN
           
static int STATUS_UNKNOWN
          Status of the pollable object.
static int STATUS_UP
           
static java.lang.String[] statusType
           
 
Method Summary
 int getStatus()
          Returns current status of the object
 boolean statusChanged()
           
 

Field Detail

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
Status of the pollable object. WARNING: Don't change the integer value of these constants. They are set up to correspond to the integer values of the ServiceMonitor.SERVICE_AVAILABLE, and ServiceMonitor.SERVICE_UNAVAILABLE,

See Also:
Constant Field Values

STATUS_UP

public static final int STATUS_UP
See Also:
Constant Field Values

STATUS_DOWN

public static final int STATUS_DOWN
See Also:
Constant Field Values

statusType

public static final java.lang.String[] statusType
Method Detail

statusChanged

public boolean statusChanged()

getStatus

public int getStatus()
Returns current status of the object


OpenNMS API 1.1.4

Generated by eevans on November 11 2004 1600.