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

DiscoveryPingResponseCallback class.

Version:
$Id: $
Author:
Ben Reed

Constructor Summary
DiscoveryPingResponseCallback()
           
 
Method Summary
 void handleError(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet, Throwable t)
          handleError
 void handleResponse(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet)
          handleResponse
 void handleTimeout(InetAddress address, org.opennms.protocols.icmp.ICMPEchoPacket packet)
          handleTimeout
 
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)

handleResponse

Specified by:
handleResponse in interface PingResponseCallback
Parameters:
address - a InetAddress object.
packet - a ICMPEchoPacket object.

handleTimeout

public void handleTimeout(InetAddress address,
                          org.opennms.protocols.icmp.ICMPEchoPacket packet)

handleTimeout

Specified by:
handleTimeout in interface PingResponseCallback
Parameters:
address - a InetAddress object.
packet - a ICMPEchoPacket object.

handleError

public void handleError(InetAddress address,
                        org.opennms.protocols.icmp.ICMPEchoPacket packet,
                        Throwable t)

handleError

Specified by:
handleError in interface PingResponseCallback
Parameters:
address - a InetAddress object.
packet - a ICMPEchoPacket object.
t - a Throwable object.


Copyright © 2011. All Rights Reserved.