I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 66d9017d authored by zzz's avatar zzz
Browse files

fix PingTest

parent 53efb711
No related branches found
No related tags found
No related merge requests found
......@@ -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
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment