Class TRTrackerAnnouncerMuxer.StatusSummary
- java.lang.Object
-
- com.biglybt.core.tracker.client.impl.TRTrackerAnnouncerMuxer.StatusSummary
-
- Enclosing class:
- TRTrackerAnnouncerMuxer
private static class TRTrackerAnnouncerMuxer.StatusSummary extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
completed
private TRTrackerAnnouncerHelper
helper
private int
interval
private int
leechers
private int
min_interval
private int
peers
private long
reported_received
private long
reported_sent
private int
seeds
private int
status
private java.lang.String
status_str
private long
time
private java.net.URL
url
-
Constructor Summary
Constructors Modifier Constructor Description protected
StatusSummary(TRTrackerAnnouncerHelper _helper, java.net.URL _url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canManuallyUpdate()
int
getCompletedCount()
int
getInterval()
int
getLeecherCount()
int
getMinInterval()
int
getPeers()
long[]
getReportedStats()
int
getSecondsToUpdate()
int
getSeedCount()
int
getStatus()
java.lang.String
getStatusString()
long
getTime()
java.net.URL
getURL()
boolean
isUpdating()
void
manualUpdate()
protected void
setHelper(TRTrackerAnnouncerHelper _helper)
protected void
updateFrom(TRTrackerAnnouncerRequest request, TRTrackerAnnouncerResponse response)
-
-
-
Field Detail
-
helper
private TRTrackerAnnouncerHelper helper
-
time
private long time
-
url
private final java.net.URL url
-
status
private int status
-
status_str
private java.lang.String status_str
-
seeds
private int seeds
-
leechers
private int leechers
-
peers
private int peers
-
completed
private int completed
-
interval
private int interval
-
min_interval
private int min_interval
-
reported_sent
private long reported_sent
-
reported_received
private long reported_received
-
-
Constructor Detail
-
StatusSummary
protected StatusSummary(TRTrackerAnnouncerHelper _helper, java.net.URL _url)
-
-
Method Detail
-
setHelper
protected void setHelper(TRTrackerAnnouncerHelper _helper)
-
updateFrom
protected void updateFrom(TRTrackerAnnouncerRequest request, TRTrackerAnnouncerResponse response)
-
getTime
public long getTime()
-
getURL
public java.net.URL getURL()
-
getStatus
public int getStatus()
-
getStatusString
public java.lang.String getStatusString()
-
getSeedCount
public int getSeedCount()
-
getLeecherCount
public int getLeecherCount()
-
getCompletedCount
public int getCompletedCount()
-
getPeers
public int getPeers()
-
isUpdating
public boolean isUpdating()
-
getInterval
public int getInterval()
-
getMinInterval
public int getMinInterval()
-
getSecondsToUpdate
public int getSecondsToUpdate()
-
canManuallyUpdate
public boolean canManuallyUpdate()
-
manualUpdate
public void manualUpdate()
-
getReportedStats
public long[] getReportedStats()
-
-