java.lang.Object
net.i2p.i2ptunnel.I2Ping.PingResult
- Enclosing class:
I2Ping
The outcome of one ping.
Field Summary
Constructor Summary
ConstructorsMethod Summary
Field Details
success
final boolean successTrue if a reply arrived.duration
final long durationTime the reply took, in ms.
Constructor Details
PingResult
PingResult(boolean success, long duration) Records one ping result.- Parameters:
success- true if a reply arrivedduration- the time the reply took, in ms