org.opennms.jicmp.standalone
Class PingReplyMetric

java.lang.Object
  extended by org.opennms.jicmp.standalone.Metric
      extended by org.opennms.jicmp.standalone.PingReplyMetric
All Implemented Interfaces:
PingReplyListener

public class PingReplyMetric
extends Metric
implements PingReplyListener

PingReplyMetric

Author:
brozow

Constructor Summary
PingReplyMetric(int count, long interval)
           
 
Method Summary
 void await()
           
 void onPingReply(InetAddress address, org.opennms.jicmp.standalone.PingReply reply)
           
 
Methods inherited from class org.opennms.jicmp.standalone.Metric
getAverage, getCount, getMaximum, getMinimum, getStandardDeviation, getSummary, getSumOfSquaresOfDifferences, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingReplyMetric

public PingReplyMetric(int count,
                       long interval)
Method Detail

onPingReply

public void onPingReply(InetAddress address,
                        org.opennms.jicmp.standalone.PingReply reply)
Specified by:
onPingReply in interface PingReplyListener

await

public void await()
           throws InterruptedException
Throws:
InterruptedException


Copyright © 2011. All Rights Reserved.