forked from I2P_Developers/i2p.i2p
fix PingTest
This commit is contained in:
@ -612,6 +612,16 @@ class ConnectionManager {
|
||||
return new HashSet<Connection>(_connectionByInboundId.values());
|
||||
}
|
||||
|
||||
/**
|
||||
* blocking
|
||||
*
|
||||
* @param timeoutMs greater than zero
|
||||
* @return true if pong received
|
||||
*/
|
||||
public boolean ping(Destination peer, long timeoutMs) {
|
||||
return ping(peer, 0, 0, timeoutMs, true, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* blocking
|
||||
*
|
||||
|
Reference in New Issue
Block a user