org.opennms.netmgt.poller
Interface MonitoredService

All Known Implementing Classes:
PollableService, PolledService

public interface MonitoredService


Method Summary
 InetAddress getAddress()
          Returns the InetAddress associated with the service
 String getIpAddr()
          Returns the ipAddr string associated with this monitored service
 NetworkInterface getNetInterface()
          Returns the Netinterface object for this service.
 int getNodeId()
          Returns the nodeId of the node that this service is associated with
 String getNodeLabel()
          Returns the label of the node that this service is associated with
 String getSvcName()
          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

getNetInterface

NetworkInterface getNetInterface()
Returns the Netinterface object for this service. This netinterface object is guarenteed to be the same each time init or poll is called

Returns:
the Netinterface

getAddress

InetAddress getAddress()
Returns the InetAddress associated with the service

Returns:
the InetAddress


Copyright © 2009. All Rights Reserved.