class TrackerInfo extends Object
Constructor and Description |
---|
TrackerInfo(InputStream in,
byte[] my_id,
byte[] infohash,
MetaInfo metainfo,
I2PSnarkUtil util) |
Modifier and Type | Method and Description |
---|---|
String |
getFailureReason()
Not HTML escaped.
|
int |
getInterval()
in seconds
|
int |
getPeerCount() |
Set<Peer> |
getPeers() |
int |
getSeedCount() |
String |
toString() |
public TrackerInfo(InputStream in, byte[] my_id, byte[] infohash, MetaInfo metainfo, I2PSnarkUtil util) throws IOException
metainfo
- may be nullIOException
public int getPeerCount()
public int getSeedCount()
public String getFailureReason()
public int getInterval()