org.opennms.netmgt.threshd
Class LatencyInterface

java.lang.Object
  extended by org.opennms.netmgt.threshd.LatencyInterface

public class LatencyInterface
extends Object

LatencyInterface class.

Version:
$Id: $
Author:
ranger

Constructor Summary
LatencyInterface(NetworkInterface<InetAddress> iface, String serviceName)
          Constructor for LatencyInterface.
 
Method Summary
 String getHostAddress()
          getHostName
 NetworkInterface<InetAddress> getNetworkInterface()
          getNetworkInterface
 String getServiceName()
          getServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatencyInterface

public LatencyInterface(NetworkInterface<InetAddress> iface,
                        String serviceName)

Constructor for LatencyInterface.

Parameters:
iface - a NetworkInterface object.
serviceName - a String object.
Method Detail

getNetworkInterface

public NetworkInterface<InetAddress> getNetworkInterface()

getNetworkInterface

Returns:
a NetworkInterface object.

getServiceName

public String getServiceName()

getServiceName

Returns:
a String object.

getHostAddress

public String getHostAddress()

getHostName

Returns:
a String object.


Copyright © 2011. All Rights Reserved.