@Component(value="locationAwarePingClient") public class LocationAwarePingClientImpl extends Object implements LocationAwarePingClient
Constructor and Description |
---|
LocationAwarePingClientImpl() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
PingRequestBuilder |
ping(InetAddress inetAddress)
Pings the given address.
|
PingSweepRequestBuilder |
sweep()
Pings one or more ranges of addresses.
|
@PostConstruct public void init()
public PingRequestBuilder ping(InetAddress inetAddress)
LocationAwarePingClient
ping
in interface LocationAwarePingClient
inetAddress
- The address to ping.public PingSweepRequestBuilder sweep()
LocationAwarePingClient
sweep
in interface LocationAwarePingClient
Copyright © 2021. All rights reserved.