Package org.opennms.netmgt.poller
Interface MonitoredService
-
- All Known Subinterfaces:
PollerRequest
- All Known Implementing Classes:
MockMonitoredService,MockService,PollableService,PollerRequestDTO,SimpleMonitoredService
public interface MonitoredServiceMonitoredService interface.
- Version:
- $Id: $
- Author:
- ranger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InetAddressgetAddress()Returns theInetAddressassociated with the serviceStringgetIpAddr()Returns the ipAddr string associated with this monitored service.intgetNodeId()Returns the nodeId of the node that this service is associated with.StringgetNodeLabel()Returns the label of the node that this service is associated with.StringgetNodeLocation()Returns the name of the location of the node that this service is associated with.StringgetSvcName()Returns the svcName associated with this monitored service.
-
-
-
Method Detail
-
getSvcName
String getSvcName()
Returns the svcName associated with this monitored service.- Returns:
- the svcName
-
getIpAddr
String getIpAddr()
Returns the ipAddr string associated with this monitored service.- Returns:
- the ipAddr string
-
getNodeId
int getNodeId()
Returns the nodeId of the node that this service is associated with.- Returns:
- the nodeid
-
getNodeLabel
String getNodeLabel()
Returns the label of the node that this service is associated with.- Returns:
- the nodelabel
-
getNodeLocation
String getNodeLocation()
Returns the name of the location of the node that this service is associated with.- Returns:
- the nodelocation
-
getAddress
InetAddress getAddress()
Returns theInetAddressassociated with the service- Returns:
- the
InetAddress
-
-