Package org.klomp.snark
Class UDPTrackerClient.TrackerResponse
java.lang.Object
org.klomp.snark.UDPTrackerClient.TrackerResponse
- Enclosing class:
UDPTrackerClient
-
Constructor Summary
ConstructorDescriptionTrackerResponse
(int interval, int seeds, int leeches, Set<Hash> peers) successTrackerResponse
(String errorMsg) failure -
Method Summary
-
Constructor Details
-
TrackerResponse
success -
TrackerResponse
failure
-
-
Method Details
-
getPeers
-
getPeerCount
public int getPeerCount() -
getSeedCount
public int getSeedCount() -
getLeechCount
public int getLeechCount() -
getFailureReason
-
getInterval
public int getInterval()in seconds
-