Class UDPTrackerClient.TrackerResponse

java.lang.Object
org.klomp.snark.UDPTrackerClient.TrackerResponse
Enclosing class:
UDPTrackerClient

public static class UDPTrackerClient.TrackerResponse extends Object
  • Constructor Details

    • TrackerResponse

      public TrackerResponse(int interval, int seeds, int leeches, Set<Hash> peers)
      success
    • TrackerResponse

      public TrackerResponse(String errorMsg)
      failure
  • Method Details

    • getPeers

      public Set<Hash> getPeers()
    • getPeerCount

      public int getPeerCount()
    • getSeedCount

      public int getSeedCount()
    • getLeechCount

      public int getLeechCount()
    • getFailureReason

      public String getFailureReason()
    • getInterval

      public int getInterval()
      in seconds