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 voidinit()PingRequestBuilderping(InetAddress inetAddress)Pings the given address.PingSweepRequestBuildersweep()Pings one or more ranges of addresses.
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
ping
public PingRequestBuilder ping(InetAddress inetAddress)
Description copied from interface:LocationAwarePingClientPings the given address.- Specified by:
pingin interfaceLocationAwarePingClient- Parameters:
inetAddress- The address to ping.- Returns:
- A request builder to provide additional request options.
-
sweep
public PingSweepRequestBuilder sweep()
Description copied from interface:LocationAwarePingClientPings one or more ranges of addresses.- Specified by:
sweepin interfaceLocationAwarePingClient- Returns:
- A request builder to provide the ranges and additional request options.
-
-