* i2psnark: Add minimum tracker and DHT announce intervals

This commit is contained in:
zzz
2012-08-20 12:09:20 +00:00
parent 264df83943
commit 05516f3260
2 changed files with 13 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ import org.klomp.snark.bencode.InvalidBEncodingException;
* Compact format 1 - a list of hashes - early format for testing
* Compact format 2 - One big string of concatenated hashes - official format
*/
public class TrackerInfo
class TrackerInfo
{
private final String failure_reason;
private final int interval;
@@ -195,6 +195,7 @@ public class TrackerInfo
return failure_reason;
}
/** in seconds */
public int getInterval()
{
return interval;