org.opennms.netmgt.discovery
Class DiscoveryPingResponseCallback

java.lang.Object
  extended by org.opennms.netmgt.discovery.DiscoveryPingResponseCallback
All Implemented Interfaces:
PingResponseCallback

public class DiscoveryPingResponseCallback
extends Object
implements PingResponseCallback

Author:
Ben Reed

Constructor Summary
DiscoveryPingResponseCallback()
           
 
Method Summary
 void handleError(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet, Throwable t)
           
 void handleResponse(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet)
           
 void handleTimeout(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryPingResponseCallback

public DiscoveryPingResponseCallback()
Method Detail

handleResponse

public void handleResponse(InetAddress address,
                           org.opennms.protocols.icmp.ICMPEchoPacket packet)
Specified by:
handleResponse in interface PingResponseCallback

handleTimeout

public void handleTimeout(InetAddress address,
                          org.opennms.protocols.icmp.ICMPEchoPacket packet)
Specified by:
handleTimeout in interface PingResponseCallback

handleError

public void handleError(InetAddress address,
                        org.opennms.protocols.icmp.ICMPEchoPacket packet,
                        Throwable t)
Specified by:
handleError in interface PingResponseCallback


Copyright © 2009. All Rights Reserved.