Package org.opennms.netmgt.icmp.proxy
Class LocationAwarePingClientImpl
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.LocationAwarePingClientImpl
-
- All Implemented Interfaces:
LocationAwarePingClient
@Component("locationAwarePingClient") public class LocationAwarePingClientImpl extends Object implements LocationAwarePingClient
-
-
Constructor Summary
Constructors Constructor Description LocationAwarePingClientImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
PingRequestBuilder
ping(InetAddress inetAddress)
Pings the given address.PingSweepRequestBuilder
sweep()
Pings one or more ranges of addresses.
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
ping
public PingRequestBuilder ping(InetAddress inetAddress)
Description copied from interface:LocationAwarePingClient
Pings the given address.- Specified by:
ping
in interfaceLocationAwarePingClient
- Parameters:
inetAddress
- The address to ping.- Returns:
- A request builder to provide additional request options.
-
sweep
public PingSweepRequestBuilder sweep()
Description copied from interface:LocationAwarePingClient
Pings one or more ranges of addresses.- Specified by:
sweep
in interfaceLocationAwarePingClient
- Returns:
- A request builder to provide the ranges and additional request options.
-
-